This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
76 lines (67 loc) · 2.48 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_packages
setup_requirements = ['pytest-runner', ]
test_requirements = []
with open("requirements_dev.txt") as dev_requirements:
for line in dev_requirements:
line = line.strip()
if len(line) == 0:
continue
if line[0] == '#':
continue
version_pin = line.split()[0]
test_requirements.append(version_pin)
install_requires = []
with open("requirements.txt") as requirements:
for line in requirements:
line = line.strip()
if len(line) == 0:
continue
if line[0] == '#':
continue
version_pin = line.split()[0]
install_requires.append(version_pin)
data_files = [('api', ['candig_rnaget/api/rnaget.yaml']),
('data', ['candig_rnaget/expression/feature_mapping_HGNC.tsv',
'candig_rnaget/orm/filters_expression.json',
'candig_rnaget/orm/filters_search.json'])]
setup(
author="BCGSC",
author_email='alipski@bcgsc.ca',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
description="A POC implementation of GA4GH RNAGET API",
install_requires=install_requires,
license="GNU General Public License v3",
include_package_data=True,
keywords='candig_rnaget',
name='candig_rnaget',
packages=find_packages(),
setup_requires=setup_requirements,
test_suite='tests',
tests_require=test_requirements,
data_files=data_files,
url='https://github.com/CanDIG/rnaget_service',
download_url='https://github.com/CanDIG/rnaget_service/archive/v0.9.3.tar.gz',
version='0.9.4',
zip_safe=False,
entry_points={
'console_scripts': [
'candig_rnaget = candig_rnaget.app:main',
'rnaget_add_expression = candig_rnaget.scripts.post_data:add_expression_file',
'rnaget_add_project = candig_rnaget.scripts.post_project:add_project',
'rnaget_add_study = candig_rnaget.scripts.post_study:add_study'
]
},
)