forked from HTTP-APIs/hydrus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (30 loc) · 1.11 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
#!/usr/bin/env python
"""Setup script for Hydrus."""
from setuptools import setup, find_packages
try: # for pip >= 10
from pip._internal.req import parse_requirements
from pip._internal.download import PipSession
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
from pip.download import PipSession
install_requires = parse_requirements('requirements.txt', session=PipSession())
dependencies = [str(package.req) for package in install_requires]
setup(name='hydrus',
include_package_data=True,
version='0.0.1',
description='A space-based application for W3C HYDRA Draft',
author='W3C HYDRA development group',
author_email='[email protected]',
url='https://github.com/HTTP-APIs/hydrus',
py_modules=['cli'],
python_requires='>=3',
install_requires=dependencies,
packages=find_packages(
exclude=['contrib', 'docs', 'tests*', 'hydrus.egg-info']),
package_dir={'hydrus':
'hydrus'},
entry_points='''
[console_scripts]
hydrus=cli:startserver
'''
)