changeset 167:adc70e861804

Some fixes to the Pypi packaging.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 12 Jan 2014 01:22:20 -0800
parents a7aa5c86350e
children a71822a4beed
files setup.py wikked/__init__.py
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
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"]),
--- a/wikked/__init__.py	Sun Jan 12 01:18:33 2014 -0800
+++ b/wikked/__init__.py	Sun Jan 12 01:22:20 2014 -0800
@@ -0,0 +1,2 @@
+VERSION = '0.1.0'
+