This repository has been archived by the owner on Jan 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
77 lines (71 loc) · 2.28 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
77
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
if sys.version_info < (3, 7):
sys.exit(
'Python < 3.7 is not supported. You are using Python {}.{}.'.format(
sys.version_info[0], sys.version_info[1])
)
here = os.path.abspath(os.path.dirname(__file__))
# To update the package version number, edit __version__.py
version = {}
with open(os.path.join(here, '__version__.py')) as f:
exec(f.read(), version)
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('requirements.txt', 'r') as f:
required_packages = f.read().splitlines()
setup(
name='csr2transmart',
version=version['__version__'],
description="Script to load CSR data to TranSMART",
long_description=readme + '\n\n',
author="Gijs Kant",
author_email='gijs@thehyve.nl',
url='https://github.com/thehyve/python_csr2transmart',
packages=[
'csr2transmart',
'csr2transmart.mappers',
'sources2csr',
'csr2cbioportal',
'csr'
],
entry_points={
'console_scripts': ['csr2transmart=csr2transmart.csr2transmart:main',
'sources2csr=sources2csr.sources2csr:main',
'csr2cbioportal=csr2cbioportal.csr2cbioportal:main'],
},
include_package_data=True,
license="MIT",
zip_safe=False,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10'
],
python_requires='>=3.7.0',
install_requires=required_packages,
setup_requires=[
# dependency for `python setup.py test`
'pytest-runner',
# dependency for `python setup.py bdist_wheel`
'wheel'
],
tests_require=[
'pytest',
'pytest-cov',
'pycodestyle',
],
extras_require={
'dev': ['prospector[with_pyroma]', 'yapf', 'isort'],
}
)