Mercurial > wikked
comparison 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 |
comparison
equal
deleted
inserted
replaced
166:a7aa5c86350e | 167:adc70e861804 |
---|---|
1 import os | 1 import os |
2 import os.path | 2 import os.path |
3 from setuptools import setup, find_packages | 3 from setuptools import setup, find_packages |
4 from wikked import VERSION | |
4 | 5 |
5 | 6 |
6 def read(fname): | 7 def read(fname): |
7 with open(os.path.join(os.path.dirname(__file__), fname)) as fp: | 8 with open(os.path.join(os.path.dirname(__file__), fname)) as fp: |
8 return fp.read() | 9 return fp.read() |
9 | 10 |
10 | 11 |
12 #TODO: get the build version from the source control revision. | |
13 BUILD_VERSION = 4 | |
14 FULL_VERSION = '%s.%s' % (VERSION, BUILD_VERSION) | |
15 | |
16 | |
11 setup( | 17 setup( |
12 name='Wikked', | 18 name='Wikked', |
13 version='0.1.0.3', | 19 version=FULL_VERSION, |
14 description=("A wiki engine entirely managed with text files " | 20 description=("A wiki engine entirely managed with text files " |
15 "stored in a revision control system."), | 21 "stored in a revision control system."), |
16 author='Ludovic Chabant', | 22 author='Ludovic Chabant', |
17 author_email='ludovic@chabant.com', | 23 author_email='ludovic@chabant.com', |
18 url="http://bolt80.com/wikked/", | 24 url="https://github.com/ludovicchabant/Wikked", |
19 license="Apache 2.0", | 25 license="Apache 2.0", |
20 keywords="wiki mercurial hg git", | 26 keywords="wiki mercurial hg git", |
21 packages=find_packages(exclude=["tests"]), | 27 packages=find_packages(exclude=["tests"]), |
22 install_requires=[ | 28 install_requires=[ |
23 'Flask>=0.10', | 29 'Flask>=0.10', |