-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
80 lines (68 loc) · 2.55 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
from setuptools import setup, find_packages
def get_version(filename):
import ast
version_ = None
with open(filename) as f:
for line in f:
if line.startswith('__version__'):
version_ = ast.parse(line).body[0].value.s
break
else:
raise ValueError('No version found in %r.' % filename)
if version_ is None:
raise ValueError(filename)
return version_
version = get_version(filename='src/compmake/__init__.py')
setup(
name='compmake',
author="Andrea Censi",
url='http://compmake.org',
version=version,
description="Compmake is a non-obtrusive module that provides "
"'make'-like facilities to your Python applications,"
"including caching of results, robustness to jobs failure, "
"and multiprocessing/multihost parallel processing.",
long_description="""
Compmake is a non-obtrusive module that provides
'make'-like facilities to your Python applications,
including caching of results, robustness to jobs failure,
and multiprocessing/multihost parallel processing.
Please see for docs: http://compmake.org
and get the manual PDF at: http://purl.org/censi/compmake-manual
""",
keywords="parallel processing, make, cmake, manager, recovery",
license="LGPL",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'Topic :: System :: Clustering',
'Topic :: System :: Distributed Computing',
'Topic :: System :: Hardware :: Symmetric Multi-processing',
'License :: OSI Approved :: GNU Library or '
'Lesser General Public License (LGPL)',
],
package_dir={'': 'src'},
packages=find_packages('src'),
entry_points={
'console_scripts': [
'compmake = compmake.scripts.master:main',
# 'compmake_slave = compmake.jobs.manager_ssh_cluster:compmake_slave'
]
},
install_requires=[
'PyContracts',
'termcolor',
'setproctitle',
'PyYaml',
'psutil',
'decorator',
'SystemCmd',
'future',
'networkx>=2.2',
'six',
# 'pyreadline',
],
tests_require=['nose'],
)