]> kaliko git repositories - mpd-sima.git/commitdiff
Get version from sima.core in setup script
authorkaliko <efrim@azylum.org>
Sat, 16 Nov 2013 12:21:30 +0000 (13:21 +0100)
committerkaliko <efrim@azylum.org>
Sat, 16 Nov 2013 12:21:30 +0000 (13:21 +0100)
setup.py [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 7dd34aa..1211086
--- a/setup.py
+++ b/setup.py
@@ -8,6 +8,8 @@ from setuptools import setup
 from os import listdir
 from os.path import isfile, isdir
 
+from sima.core import __version__ as VERSION
+
 DESCRIPTION = """
 sima is a Python application meant to feed your MPD playlist with tracks
 from artists similar to your currently playing track, provided that these
@@ -38,7 +40,7 @@ classifiers = [
         ]
 
 setup(name='sima',
-      version='0.12.0.dev',
+      version=VERSION,
       download_url='http://codingteam.net/project/sima/download',
       url='http://codingteam.net/project/sima',
       description='Automagically add titles to MPD playlist',