mirror of https://github.com/tLDP/python-tldp
move VERSION to a single location
This commit is contained in:
parent
e8769f3905
commit
a3180238bd
5
setup.py
5
setup.py
|
@ -3,6 +3,7 @@ import os
|
||||||
|
|
||||||
import glob
|
import glob
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
from tldp import VERSION
|
||||||
|
|
||||||
|
|
||||||
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as r_file:
|
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as r_file:
|
||||||
|
@ -11,12 +12,12 @@ with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as r_file:
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='tldp',
|
name='tldp',
|
||||||
version='0.7.8',
|
version=VERSION,
|
||||||
license='MIT',
|
license='MIT',
|
||||||
author='Martin A. Brown',
|
author='Martin A. Brown',
|
||||||
author_email='martin@linux-ip.net',
|
author_email='martin@linux-ip.net',
|
||||||
url="http://en.tldp.org/",
|
url="http://en.tldp.org/",
|
||||||
description='tools for processing all TLDP source documents',
|
description='automatic publishing tool for DocBook, Linuxdoc and Asciidoc',
|
||||||
long_description=readme,
|
long_description=readme,
|
||||||
packages=['tldp', 'tldp/doctypes'],
|
packages=['tldp', 'tldp/doctypes'],
|
||||||
test_suite='nose.collector',
|
test_suite='nose.collector',
|
||||||
|
|
|
@ -6,3 +6,5 @@ import tldp.config
|
||||||
import tldp.outputs
|
import tldp.outputs
|
||||||
import tldp.sources
|
import tldp.sources
|
||||||
import tldp.inventory
|
import tldp.inventory
|
||||||
|
|
||||||
|
VERSION="0.7.8"
|
||||||
|
|
Loading…
Reference in New Issue