forked from tus/tus-py-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
55 lines (50 loc) · 1.83 KB
/
setup.py
File metadata and controls
55 lines (50 loc) · 1.83 KB
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
import sys
import os
from setuptools import setup
import tusclient
install_requires = [
'future>=0.16.0', 'requests>=2.18.4', 'six>=1.11.0', 'tinydb>=3.5.0', 'aiohttp>=3.6.2'
]
if os.environ.get('READTHEDOCS') != 'True':
install_requires.append('certifi>=2018.1.18')
TESTS_REQUIRE = [
'responses>=0.5.1', 'aioresponses>=0.6.2', 'coverage>=4.2', 'pytest>=3.0.3',
'pytest-cov>=2.3.1,<2.6'
]
PY_VERSION = sys.version_info[0], sys.version_info[1]
if PY_VERSION < (3, 0):
long_description = open('README.md').read()
else:
long_description = open('README.md', encoding='utf-8').read()
setup(
name='tuspy',
version=tusclient.__version__,
url='http://github.com/tus/tus-py-client/',
license='MIT',
author='Ifedapo Olarewaju',
install_requires=install_requires,
tests_require=TESTS_REQUIRE,
extras_require={
'test': TESTS_REQUIRE,
'dev': ['tox>=2.3.1', 'sphinx-autobuild==0.7.1', 'Sphinx==1.7.1']
},
author_email='ifedapoolarewaju@gmail.com',
description=
'A Python client for the tus resumable upload protocol -> http://tus.io',
long_description=(long_description),
long_description_content_type='text/markdown',
packages=['tusclient', 'tusclient.fingerprint', 'tusclient.storage', 'tusclient.uploader'],
include_package_data=True,
platforms='any',
classifiers=[
'Programming Language :: Python',
'Natural Language :: English',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet :: File Transfer Protocol (FTP)',
'Topic :: Communications :: File Sharing',
])