diff options
author | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 11:51:49 -0700 |
---|---|---|
committer | SVN-Git Migration <python-modules-team@lists.alioth.debian.org> | 2015-10-08 11:51:49 -0700 |
commit | 29425a36c920e9b54e5860429ef3e3ce639fb155 (patch) | |
tree | edea6a643fec30f40ca1a05be55ae401fcc344de /setup.py | |
parent | 99fde585a39d7867d2c2257b74a7cc441bc9f2a5 (diff) | |
download | python-django-tagging-29425a36c920e9b54e5860429ef3e3ce639fb155.tar python-django-tagging-29425a36c920e9b54e5860429ef3e3ce639fb155.tar.gz |
Imported Upstream version 0.3.1upstream/0.3.1
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -5,6 +5,10 @@ import os from distutils.command.install import INSTALL_SCHEMES from distutils.core import setup +import tagging + + + def fullsplit(path, result=None): """ Split a pathname into components (the opposite of os.path.join) in a @@ -45,16 +49,10 @@ for dirpath, dirnames, filenames in os.walk(tagging_dir): elif filenames: data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]]) -# Dynamically calculate the version based on tagging.VERSION -version_tuple = (0, 3, None) -if version_tuple[2] is not None: - version = "%d.%d_%s" % version_tuple -else: - version = "%d.%d" % version_tuple[:2] setup( name = 'django-tagging', - version = version, + version = tagging.get_version(), description = 'Generic tagging application for Django', author = 'Jonathan Buchanan', author_email = 'jonathan.buchanan@gmail.com', |