forked from EBI-Metagenomics/ena-api-handler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (27 loc) · 927 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
31
32
33
from setuptools import setup, find_packages
import os
import sys
version = "1.0.5"
_base = os.path.dirname(os.path.abspath(__file__))
_requirements = os.path.join(_base, 'requirements.txt')
_requirements_test = os.path.join(_base, 'requirements-test.txt')
_env_activate = os.path.join(_base, 'venv', 'bin', 'activate')
install_requirements = []
with open(_requirements) as f:
install_requirements = f.read().splitlines()
test_requirements = []
if "test" in sys.argv:
with open(_requirements_test) as f:
test_requirements = f.read().splitlines()
setup(
name="ena_api_libs",
author='Miguel Boland, Maxim Scheremetjew',
author_email='mdb@ebi.ac.uk, maxim@ebi.ac.uk',
version=version,
packages=['ena_portal_api'],
install_requires=install_requirements,
include_package_data=True,
tests_require=test_requirements,
test_suite="tests",
setup_requires=['pytest-runner'],
)