forked from oauthlib/oauthlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·34 lines (26 loc) · 884 Bytes
/
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
# -*- coding: utf-8 -*-
import os
from os.path import dirname, join
from setuptools import setup, find_packages, Command
# Hack because logging + setuptools sucks.
import multiprocessing
def fread(fn):
with open(join(dirname(__file__), fn), 'r') as f:
return f.read()
tests_require = ['nose', 'unittest2', 'rsa']
requires = ['rsa']
setup(
name='oauthlib',
version='0.1.3',
description='A generic, spec-compliant, thorough implementation of the OAuth request-signing logic',
long_description=fread('README.rst'),
author='Idan Gazit',
author_email='[email protected]',
url='https://github.com/idangazit/oauthlib',
license=fread('LICENSE'),
packages=find_packages(exclude=('tests', 'docs')),
test_suite='nose.collector',
tests_require=tests_require,
extras_require={'test': tests_require},
install_requires=requires,
)