diff setup.py @ 167:adc70e861804

Some fixes to the Pypi packaging.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 12 Jan 2014 01:22:20 -0800
parents 81e39ae8aef0
children f1003615a261
line wrap: on
line diff
--- a/setup.py	Sun Jan 12 01:18:33 2014 -0800
+++ b/setup.py	Sun Jan 12 01:22:20 2014 -0800
@@ -1,6 +1,7 @@
 import os
 import os.path
 from setuptools import setup, find_packages
+from wikked import VERSION
 
 
 def read(fname):
@@ -8,14 +9,19 @@
         return fp.read()
 
 
+#TODO: get the build version from the source control revision.
+BUILD_VERSION = 4
+FULL_VERSION = '%s.%s' % (VERSION, BUILD_VERSION)
+
+
 setup(
         name='Wikked',
-        version='0.1.0.3',
+        version=FULL_VERSION,
         description=("A wiki engine entirely managed with text files "
             "stored in a revision control system."),
         author='Ludovic Chabant',
         author_email='ludovic@chabant.com',
-        url="http://bolt80.com/wikked/",
+        url="https://github.com/ludovicchabant/Wikked",
         license="Apache 2.0",
         keywords="wiki mercurial hg git",
         packages=find_packages(exclude=["tests"]),