-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (21 loc) · 666 Bytes
/
setup.py
File metadata and controls
24 lines (21 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
try: # for pip >= 10
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
import uuid
from setuptools import find_packages, setup
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
try:
reqs = [str(req.req) for req in install_reqs]
except:
reqs = [str(req.requirement) for req in install_reqs]
setup(
name='motifdiscovery',
version="1.0",
packages=find_packages(),
author_email='thomasgnuttall@gmail.com',
zip_safe=False,
include_package_data=True,
long_description=open('README.md').read(),
install_requires=reqs
)