Debian Codegraph @

setup.py

raw symbols SCIP
1 #!/usr/bin/env python
2 #
3 # Copyright (C) 2008-2016 CEA/DAM
4 # Copyright (C) 2016-2026 Stephane Thiell <[email protected]>
5 #
6 # This file is part of ClusterShell.
7 #
8 # ClusterShell is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU Lesser General Public
10 # License as published by the Free Software Foundation; either
11 # version 2.1 of the License, or (at your option) any later version.
12 #
13 # ClusterShell is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # Lesser General Public License for more details.
17 #
18 # You should have received a copy of the GNU Lesser General Public
19 # License along with ClusterShell; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
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 # Dependencies (for pip install)
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 )