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 1
/
setup.py
82 lines (76 loc) · 2.38 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
78
79
80
81
82
#!/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 packer/__version__.py
version = {}
with open(os.path.join(here, 'packer', '__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-packer',
version=version['__version__'],
description="Data transformation jobs for TranSMART",
long_description=readme + '\n\n',
author="Jochem Bijlard",
author_email='jochem@thehyve.nl',
url='https://github.com/thehyve/transmart-packer',
packages=[
'packer',
'packer.jobs',
'packer.table_transformations'
],
entry_points={
'console_scripts': ['transmart-packer=packer.main:main'],
},
include_package_data=True,
license="GNU General Public License v3 or later",
zip_safe=False,
keywords=[
'transmart-packer',
'transmart'
],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'License :: OSI Approved :: GNU General Public License (GPL)',
'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',
# dependencies for `python setup.py build_sphinx`
'sphinx',
'sphinx_rtd_theme',
'recommonmark',
# dependency for `python setup.py bdist_wheel`
'wheel'
],
tests_require=[
'pytest',
'pytest-cov',
'pycodestyle',
],
extras_require={
'dev': ['prospector[with_pyroma]', 'pygments', 'yapf', 'isort'],
}
)