<filename>setup.py
# -*- 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', 'pycrypto']

setup(
    name='oauthlib',
    version='0.0.2',
    description='A generic, spec-compliant, thorough implementation of the OAuth request-signing logic',
    long_description=fread('README.rst'),
    author='<NAME>',
    author_email='<EMAIL>',
    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},
)

<filename>setup.py
# -*- 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', 'pycrypto']

setup(
    name='oauthlib',
    version='0.0.2',
    description='A generic, spec-compliant, thorough implementation of the OAuth request-signing logic',
    long_description=fread('README.rst'),
    author='<NAME>',
    author_email='<EMAIL>',
    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},
)

# -*- coding: utf-8 -*- # Hack because logging + setuptools sucks.