This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
73 lines (67 loc) · 2.16 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
#!/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 transmart_loader/__version__.py
version = {}
with open(os.path.join(here, 'transmart_loader', '__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='transmart_loader',
version=version['__version__'],
description="Python library for loading data to TranSMART using transmart-copy",
long_description=readme + '\n\n',
author="Gijs Kant",
author_email='gijs@thehyve.nl',
url='https://github.com/thehyve/python_transmart_loader',
packages=[
'transmart_loader',
],
package_dir={'transmart_loader':
'transmart_loader'},
include_package_data=True,
license="MIT",
zip_safe=False,
keywords='transmart_loader',
classifiers=[
'Development Status :: 3 - 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',
],
test_suite='tests',
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=[
'pycodestyle',
'pytest',
'pytest-cov',
'python-dateutil'
],
extras_require={
'dev': ['prospector[with_pyroma]', 'yapf', 'isort'],
}
)