forked from bsc-wdc/dislib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (41 loc) · 1.71 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
import setuptools
from pkg_resources import parse_requirements as _parse_requirements
def get_long_description():
"""Read the long_description from the README.md file"""
with open('README.md') as f:
readme = f.read()
end = '<!-- End of long_description for setup.py -->'
return readme[:readme.find(end)].strip()
def parse_requirements():
"""Parse the requirements.txt file"""
with open('requirements.txt') as f:
parsed_requirements = _parse_requirements(f)
requirements = [str(ir) for ir in parsed_requirements]
return requirements
setuptools.setup(
name="dislib",
version=open('VERSION').read().strip(),
author="Barcelona Supercomputing Center",
author_email="compss@bsc.es",
description="The distributed computing library on top of PyCOMPSs",
long_description=get_long_description(),
long_description_content_type='text/markdown',
url="http://dislib.bsc.es",
project_urls={
'Documentation': 'http://dislib.bsc.es',
'Source': 'https://github.com/bsc-wdc/dislib',
'Tracker': 'https://github.com/bsc-wdc/dislib/issues',
},
packages=setuptools.find_packages(exclude=['tests', 'tests.*']),
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: Apache Software License",
"Development Status :: 2 - Pre-Alpha",
"Operating System :: POSIX :: Linux",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Distributed Computing",
],
install_requires=parse_requirements(),
)