-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathsetup.py
56 lines (50 loc) · 1.53 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
import sys
from setuptools import setup, find_packages
def is_running_tests():
return {'pytest', 'test', 'ptr'}.intersection(sys.argv)
setup_requires = []
if is_running_tests:
setup_requires.append('pytest-runner')
DESCRIPTION = (
'Python library for interacting with the Patreon API. '
'OAuth-centric for now.'
)
setup(
name='patreon',
version='0.5.1',
description=DESCRIPTION,
url='http://github.com/Patreon/patreon-python',
author='Patreon',
author_email='[email protected]',
license='Apache 2.0',
packages=find_packages(
exclude=['examples', 'examples.*', 'test', 'test.*']
),
setup_requires=setup_requires,
install_requires=[
'requests',
'six>=1.10.0',
],
tests_require=[
'pytest',
'pytest-cov',
'mock',
],
zip_safe=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)