forked from litl/rauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
36 lines (31 loc) · 1.09 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
import os
import sys
from rauth import __version__
from setuptools import setup, find_packages
if sys.argv[-1] == 'test':
status = os.system('make check')
status >>= 8
sys.exit(status)
install_requires = ['requests==1.2.3']
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
install_requires.append('unittest2>=0.5.1')
setup(name='rauth',
version=__version__,
description='A Python library for OAuth 1.0/a, 2.0, and Ofly.',
long_description=open('README.markdown').read(),
author='Max Countryman',
author_email='[email protected]',
url='https://github.com/litl/rauth',
packages=find_packages(),
install_requires=install_requires,
license='MIT',
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
),
zip_safe=False)