aboutsummaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2015-07-04 21:28:55 -0700
committerMike Crute <mcrute@gmail.com>2015-07-04 21:28:55 -0700
commiteec14ca6d278fb0e0466f2e2a411c31e1f592ddc (patch)
treed214da544448a2dff0d27eb3c91f1b02a4feca33 /setup.py
parent0edc2359e7eb3ddf882d5d8ef2903c8ec869ba57 (diff)
downloadpydora-eec14ca6d278fb0e0466f2e2a411c31e1f592ddc.tar.bz2
pydora-eec14ca6d278fb0e0466f2e2a411c31e1f592ddc.tar.xz
pydora-eec14ca6d278fb0e0466f2e2a411c31e1f592ddc.zip
Better distutils hooks
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py60
1 files changed, 32 insertions, 28 deletions
diff --git a/setup.py b/setup.py
index decdb66..f295530 100644
--- a/setup.py
+++ b/setup.py
@@ -1,49 +1,53 @@
1#!/usr/bin/env python 1#!/usr/bin/env python
2 2
3try: 3try:
4 from setuptools import setup 4 from setuptools import setup, find_packages
5except ImportError: 5except ImportError:
6 from ez_setup import use_setuptools 6 from ez_setup import use_setuptools
7 use_setuptools() 7 use_setuptools()
8 from setuptools import setup 8 from setuptools import setup, find_packages
9
10import distutils_ext
9 11
10 12
11setup( 13setup(
12 name='pydora', 14 name="pydora",
13 version='1.3.0', 15 version="1.3.0",
14 description='Python wrapper for Pandora API', 16 description="Python wrapper for Pandora API",
15 long_description=open('README.rst', 'r').read(), 17 long_description=open("README.rst", "r").read(),
16 author='Mike Crute', 18 author="Mike Crute",
17 author_email='mcrute@gmail.com', 19 author_email="mcrute@gmail.com",
18 url='https://github.com/mcrute/pydora', 20 url="https://github.com/mcrute/pydora",
19 test_suite="tests", 21 test_suite="tests",
20 packages=[ 22 cmdclass={
21 'pydora', 23 "check_style": distutils_ext.check_style,
22 'pandora', 24 "cover_test": distutils_ext.cover_test,
23 'pandora.models', 25 },
24 ], 26 packages=find_packages(exclude=["tests", "tests.*"]),
25 tests_require=[ 27 tests_require=[
28 "pep8==1.6.2",
26 "mock==1.0.1", 29 "mock==1.0.1",
30 "coverage==3.7.1",
27 ], 31 ],
28 install_requires=[ 32 install_requires=[
29 'pycrypto>=2.6.1', 33 "pycrypto>=2.6.1",
30 'requests>=2', 34 "requests>=2",
31 ], 35 ],
32 entry_points={ 36 entry_points={
33 'console_scripts': [ 37 "console_scripts": [
34 'pydora = pydora.player:main', 38 "pydora = pydora.player:main",
35 ], 39 ],
36 }, 40 },
37 classifiers=[ 41 classifiers=[
38 'Development Status :: 5 - Production/Stable', 42 "Development Status :: 5 - Production/Stable",
39 'Environment :: Console', 43 "Environment :: Console",
40 'Intended Audience :: Developers', 44 "Intended Audience :: Developers",
41 'Intended Audience :: End Users/Desktop', 45 "Intended Audience :: End Users/Desktop",
42 'License :: OSI Approved :: MIT License', 46 "License :: OSI Approved :: MIT License",
43 'Operating System :: OS Independent', 47 "Operating System :: OS Independent",
44 'Programming Language :: Python :: 2', 48 "Programming Language :: Python :: 2",
45 'Programming Language :: Python :: 3', 49 "Programming Language :: Python :: 3",
46 'Topic :: Internet :: WWW/HTTP', 50 "Topic :: Internet :: WWW/HTTP",
47 'Topic :: Multimedia :: Sound/Audio :: Players', 51 "Topic :: Multimedia :: Sound/Audio :: Players",
48 ] 52 ]
49) 53)