-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (54 loc) · 1.54 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python3
import os
import sys
import setuptools.command.egg_info as egg_info_cmd
from setuptools import setup
SETUP_DIR = os.path.dirname(__file__)
README = os.path.join(SETUP_DIR, "README.md")
try:
import gittaggers
tagger = gittaggers.EggInfoFromGit
except ImportError:
tagger = egg_info_cmd.egg_info
setup_requires = []
install_requires = [
"pyshex",
"arvados-python-client",
"python-magic",
"py-dateutil",
"schema-salad",
"rdflib>=4.2.2,<4.3.0",
"pyyaml",
"biopython",
"click"
]
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
pytest_runner = ["pytest < 6", "pytest-runner < 5"] if needs_pytest else []
setup(
name="hguploader",
version="1.0",
description="CBRC/BORG sequence uploader",
long_description=open(README).read(),
long_description_content_type="text/markdown",
author="Maxat Kulmanov",
author_email="[email protected]",
license="Apache 2.0",
packages=["hguploader",],
package_data={"hguploader": ["schema.yml",
"options.yml",
"shex.rdf",
"validation/formats",],
},
install_requires=install_requires,
extras_require={},
setup_requires=setup_requires + pytest_runner,
tests_require=["pytest<5"],
entry_points={
"console_scripts": [
"hguploader=hguploader.main:main",
]
},
zip_safe=True,
cmdclass={"egg_info": tagger},
python_requires=">=3.5, <4",
)