-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
30 lines (27 loc) · 1005 Bytes
/
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
from setuptools import setup, find_packages
try:
# pip >=20
from pip._internal.network.session import PipSession
from pip._internal.req import parse_requirements
except ImportError:
msg = "Your pip version is out of date, please run `pip install --upgrade pip setuptools`"
raise ImportError(msg)
install_requires = parse_requirements('requirements.txt', session=PipSession())
try:
dependencies = [str(package.requirement) for package in install_requires]
except:
dependencies = [str(package.req) for package in install_requires]
setup(
name='hydra_python_core',
version='0.3.1',
packages=find_packages(),
license='MIT',
description='Core functions for Hydrus',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
install_requires=dependencies,
url='https://github.com/HTTP-APIs/hydra-python-core',
zip_safe=False,
author='Hydra Ecosystem',
author_email='[email protected]',
)