-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·55 lines (48 loc) · 1.45 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
# coding: utf-8
import sys
from setuptools import find_packages, setup
with open("README.md") as f:
long_description = f.read()
NAME = "urllib_s3"
VERSION = '0.0.6'
REQUIRES = [
'setuptools >= 21.0.0',
'six >= 1.9.0',
'boto3 == 1.9.97'
]
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
setup(
name=NAME,
version=VERSION,
description="S3 handler for urllib",
author='Carlo Bertini',
author_email="[email protected]",
url='https://github.com/WaYdotNET/urllib_s3',
license='MIT License',
keywords=["urllib", "s3", "urllib handler", 'minio', "aws", "boto3"],
package_dir={'': 'lib'},
install_requires=REQUIRES,
packages=find_packages('lib'),
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
setup_requires=pytest_runner,
tests_require=[
'pytest',
'pytest-mock',
'pytest-cov',
'pytest-flake8',
'pytest-isort',
'pytest-runner'
],
)