forked from echonest/pyechonest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
40 lines (35 loc) · 1.21 KB
/
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
35
36
37
38
39
40
#!/usr/bin/env python
# encoding: utf-8
__version__ = "8.0.1"
# $Source$
from sys import version
import os
from setuptools import setup
if version < '2.6':
requires=['urllib', 'urllib2', 'simplejson']
elif version >= '2.6':
requires=['urllib', 'urllib2', 'json']
else:
#unknown version?
requires=['urllib', 'urllib2']
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pyechonest',
version=__version__,
description='Python interface to The Echo Nest APIs.',
long_description="""
Tap into The Echo Nest's Musical Brain for the best music search, information, recommendations and remix tools on the web.
Pyechonest is an open source Python library for the Echo Nest API. With Pyechonest you have Python access to the entire set of API methods.
See: http://developer.echonest.com
""",
author='Tyler Williams',
author_email='[email protected]',
maintainer='David DesRoches',
maintainer_email='[email protected]',
url='https://github.com/echonest/pyechonest',
download_url='https://github.com/echonest/pyechonest',
package_dir={'pyechonest':'pyechonest'},
packages=['pyechonest'],
requires=requires
)