diff Yading/musixmatch-master/setup.py @ 7:8c29444cb5fd

Just did some work
author Yading Song <yading.song@eecs.qmul.ac.uk>
date Sat, 20 Apr 2013 19:01:57 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Yading/musixmatch-master/setup.py	Sat Apr 20 19:01:57 2013 +0200
@@ -0,0 +1,33 @@
+from setuptools import setup
+import sys
+import os
+
+wd = os.path.dirname(os.path.abspath(__file__))
+os.chdir(wd)
+sys.path.insert(1, wd)
+
+name = 'musixmatch'
+pkg = __import__(name)
+author, email = pkg.__author__.rsplit(' ', 1)
+
+with open(os.path.join(wd, 'README.rst'),'r') as readme:
+    long_description = readme.read()
+
+url = 'http://projects.monkeython.com/musixmatch',
+egg = {
+    'name': name,
+    'version': pkg.__version__,
+    'author': author,
+    'author_email': email.strip('<>'),
+    'url': url,
+    'description': "Package to interface with the Musixmatch API",
+    'long_description': long_description,
+    'download_url': '%s/dists' % url,
+    'classifiers': pkg.__classifiers__,
+    'packages': [name],
+    'include_package_data': True,
+    'exclude_package_data': {name: ["*.rst", "docs", "tests"]},
+    'test_suite': 'tests.suite'}
+
+if __name__ == '__main__':
+    setup(**egg)