forked from EMBL-EBI-TSI/aap-client-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
84 lines (65 loc) · 2.49 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
83
84
import io
from os import path
from setuptools import setup, find_packages
HERE = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with io.open(path.join(HERE, 'README.rst'), encoding='utf-8') as f:
LONG_DESC = f.read()
INSTALL_DEPS = ['pyjwt[crypto]>=1.5.2',
'future>=0.16.0']
FLASK_DEPS = ['flask>=0.12.2']
DEV_DEPS = FLASK_DEPS
TEST_DEPS = ['pytest',
'pytest-cov',
'python-testdata-tsi>=0.2.0.1'] + DEV_DEPS
LINT_DEPS = ['pylint'] + DEV_DEPS
DOCS_DEPS = ['sphinx >= 1.7.5', 'sphinxcontrib-fulltoc'] + DEV_DEPS
setup(
name='aap-client-python',
# https://pypi.python.org/pypi/setuptools_scm
use_scm_version=True,
description='AAP Client',
long_description=LONG_DESC,
url='https://github.com/EMBL-EBI-TSI/aap-client-python',
author='Pau Ruiz Safont',
author_email='psafont@ebi.ac.uk',
license='Apache 2.0',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
# What does your project relate to?
keywords='aap jose jwt auth flask',
packages=find_packages(exclude=['examples', 'docs', 'tests']),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=INSTALL_DEPS,
setup_requires=['setuptools_scm'],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': DEV_DEPS,
'flask': FLASK_DEPS,
'test': TEST_DEPS,
'docs': DOCS_DEPS,
'lint': LINT_DEPS
},
)