|
1
|
|
|
#!/usr/bin/env python |
|
2
|
|
|
# -*- coding: utf-8 -*- |
|
3
|
|
|
|
|
4
|
|
|
"""The setup script.""" |
|
5
|
|
|
|
|
6
|
|
|
from setuptools import setup, find_packages |
|
7
|
|
|
|
|
8
|
|
|
with open('README.rst') as readme_file: |
|
9
|
|
|
readme = readme_file.read() |
|
10
|
|
|
|
|
11
|
|
|
with open('HISTORY.rst') as history_file: |
|
12
|
|
|
history = history_file.read() |
|
13
|
|
|
|
|
14
|
|
|
requirements = ['python_jwt', 'requests', 'url-normalize', 'dateutils'] |
|
15
|
|
|
|
|
16
|
|
|
setup_requirements = ['pytest-runner', ] |
|
17
|
|
|
|
|
18
|
|
|
test_requirements = ['pytest>=3', ] |
|
19
|
|
|
|
|
20
|
|
|
setup( |
|
21
|
|
|
author="Paolo Cozzi", |
|
22
|
|
|
author_email='[email protected]', |
|
23
|
|
|
python_requires='>=3.5', |
|
24
|
|
|
classifiers=[ |
|
25
|
|
|
'Development Status :: 4 - Beta', |
|
26
|
|
|
'Intended Audience :: Developers', |
|
27
|
|
|
'Intended Audience :: Science/Research', |
|
28
|
|
|
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', |
|
29
|
|
|
'Natural Language :: English', |
|
30
|
|
|
'Programming Language :: Python :: 3', |
|
31
|
|
|
'Programming Language :: Python :: 3.5', |
|
32
|
|
|
'Programming Language :: Python :: 3.6', |
|
33
|
|
|
'Programming Language :: Python :: 3.7', |
|
34
|
|
|
'Programming Language :: Python :: 3.8', |
|
35
|
|
|
], |
|
36
|
|
|
description=("Python USI submission REST API contain all methods to " |
|
37
|
|
|
"interact with EMBL-EBI Unified Submissions Interface"), |
|
38
|
|
|
long_description_content_type='text/x-rst', |
|
39
|
|
|
install_requires=requirements, |
|
40
|
|
|
license="GNU General Public License v3", |
|
41
|
|
|
long_description=readme + '\n\n' + history, |
|
42
|
|
|
include_package_data=True, |
|
43
|
|
|
keywords='pyUSIrest', |
|
44
|
|
|
name='pyUSIrest', |
|
45
|
|
|
packages=find_packages(include=['pyUSIrest', 'pyUSIrest.*']), |
|
46
|
|
|
setup_requires=setup_requirements, |
|
47
|
|
|
test_suite='tests', |
|
48
|
|
|
tests_require=test_requirements, |
|
49
|
|
|
url='https://github.com/cnr-ibba/pyUSIrest', |
|
50
|
|
|
version="0.3.1", |
|
51
|
|
|
zip_safe=False, |
|
52
|
|
|
) |
|
53
|
|
|
|