forked from litl/rauth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
40 lines (37 loc) · 1.16 KB
/
setup.py
File metadata and controls
40 lines (37 loc) · 1.16 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
import os
import sys
import rauth
from setuptools import setup, find_packages
if sys.argv[-1] == 'test':
nosetests = 'nosetests -v --with-coverage --cover-package=rauth'
try:
import yanc
nosetests += ' --with-yanc'
except ImportError:
pass
os.system('pyflakes rauth tests; '
'pep8 rauth tests && '
+ nosetests)
sys.exit(1)
setup(
name='redpie.rauth',
version=rauth.__version__+'-redpie1',
description='FORK: A Python library for OAuth 1.0/a, 2.0, and Ofly.',
long_description=open('README.markdown').read(),
author='Max Countryman',
author_email='max@litl.com',
url='https://github.com/litl/rauth',
packages=find_packages(),
install_requires=['requests>=0.12.0'],
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,
)