| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
import os |
| 23 |
from setuptools import setup, find_packages |
| 24 |
|
| 25 |
|
| 26 |
VERSION = '1.10.1' |
| 27 |
|
| 28 |
CFGDIR = 'etc/clustershell' |
| 29 |
MANDIR = 'share/man' |
| 30 |
|
| 31 |
|
| 32 |
REQUIRES = ['PyYAML'] |
| 33 |
|
| 34 |
setup(name='ClusterShell', |
| 35 |
version=VERSION, |
| 36 |
package_dir={'': 'lib'}, |
| 37 |
packages=find_packages('lib'), |
| 38 |
data_files=[(CFGDIR, |
| 39 |
['conf/clush.conf', |
| 40 |
'conf/groups.conf', |
| 41 |
'conf/topology.conf.example']), |
| 42 |
(os.path.join(CFGDIR, 'clush.conf.d'), |
| 43 |
['conf/clush.conf.d/sshpass.conf.example', |
| 44 |
'conf/clush.conf.d/sudo.conf.example', |
| 45 |
'conf/clush.conf.d/README']), |
| 46 |
(os.path.join(CFGDIR, 'groups.conf.d'), |
| 47 |
['conf/groups.conf.d/ansible.conf.example', |
| 48 |
'conf/groups.conf.d/genders.conf.example', |
| 49 |
'conf/groups.conf.d/slurm.conf.example', |
| 50 |
'conf/groups.conf.d/xcat.conf.example', |
| 51 |
'conf/groups.conf.d/README']), |
| 52 |
(os.path.join(CFGDIR, 'groups.d'), |
| 53 |
['conf/groups.d/cluster.yaml.example', |
| 54 |
'conf/groups.d/local.cfg', |
| 55 |
'conf/groups.d/README']), |
| 56 |
(os.path.join(MANDIR, 'man1'), |
| 57 |
['doc/man/man1/clubak.1', |
| 58 |
'doc/man/man1/cluset.1', |
| 59 |
'doc/man/man1/clush.1', |
| 60 |
'doc/man/man1/nodeset.1']), |
| 61 |
(os.path.join(MANDIR, 'man5'), |
| 62 |
['doc/man/man5/clush.conf.5', |
| 63 |
'doc/man/man5/groups.conf.5']), |
| 64 |
], |
| 65 |
entry_points={'console_scripts': |
| 66 |
['clubak=ClusterShell.CLI.Clubak:main', |
| 67 |
'cluset=ClusterShell.CLI.Nodeset:main', |
| 68 |
'clush=ClusterShell.CLI.Clush:main', |
| 69 |
'nodeset=ClusterShell.CLI.Nodeset:main'], |
| 70 |
}, |
| 71 |
author='Stephane Thiell', |
| 72 |
license='LGPLv2+', |
| 73 |
url='https://clustershell.readthedocs.io/', |
| 74 |
download_url='https://github.com/clustershell/clustershell/archive/refs/tags/v%s.tar.gz' % VERSION, |
| 75 |
platforms=['GNU/Linux', 'BSD', 'MacOSX'], |
| 76 |
keywords=['clustershell', 'clush', 'clubak', 'nodeset'], |
| 77 |
description='ClusterShell library and tools', |
| 78 |
long_description=open('doc/txt/clustershell.rst').read(), |
| 79 |
long_description_content_type='text/x-rst', |
| 80 |
classifiers=[ |
| 81 |
"Development Status :: 5 - Production/Stable", |
| 82 |
"Environment :: Console", |
| 83 |
"Intended Audience :: System Administrators", |
| 84 |
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", |
| 85 |
"Operating System :: MacOS :: MacOS X", |
| 86 |
"Operating System :: POSIX :: BSD", |
| 87 |
"Operating System :: POSIX :: Linux", |
| 88 |
"Programming Language :: Python", |
| 89 |
"Programming Language :: Python :: 2.7", |
| 90 |
"Programming Language :: Python :: 3", |
| 91 |
"Topic :: Software Development :: Libraries :: Python Modules", |
| 92 |
"Topic :: System :: Clustering", |
| 93 |
"Topic :: System :: Distributed Computing" |
| 94 |
], |
| 95 |
install_requires=REQUIRES, |
| 96 |
) |