1import re
2
3from setuptools import setup
4
5
6version = None
7for line in open('./soundcloud/__init__.py'):
8    m = re.search('__version__\s*=\s*(.*)', line)
9    if m:
10        version = m.group(1).strip()[1:-1]  # quotes
11        break
12assert version
13
14setup(
15    name='soundcloud',
16    version=version,
17    description='A friendly wrapper library for the Soundcloud API',
18    author='SoundCloud',
19    author_email='api@soundcloud.com',
20    url='https://github.com/soundcloud/soundcloud-python',
21    license='BSD',
22    packages=['soundcloud'],
23    include_package_data=True,
24    package_data={
25        '': ['README.rst']
26    },
27    install_requires=[
28        'fudge>=1.0.3',
29        'requests>=0.14.0',
30        'simplejson>=2.0',
31    ],
32    tests_require=[
33        'nose>=1.1.2',
34    ],
35    classifiers=[
36        'Development Status :: 4 - Beta',
37        'Intended Audience :: Developers',
38        'License :: OSI Approved :: BSD License',
39        'Operating System :: OS Independent',
40        'Programming Language :: Python',
41        'Topic :: Internet',
42        'Topic :: Multimedia :: Sound/Audio',
43        'Topic :: Software Development :: Libraries :: Python Modules',
44    ]
45)
46