From a3180238bdcad31313ef6c169c0860ecbeda736f Mon Sep 17 00:00:00 2001 From: "Martin A. Brown" Date: Wed, 27 Apr 2016 13:52:56 -0400 Subject: [PATCH] move VERSION to a single location --- setup.py | 5 +++-- tldp/__init__.py | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 6e9702a..85fcab2 100644 --- a/setup.py +++ b/setup.py @@ -3,6 +3,7 @@ import os import glob from setuptools import setup +from tldp import VERSION 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( name='tldp', - version='0.7.8', + version=VERSION, license='MIT', author='Martin A. Brown', author_email='martin@linux-ip.net', 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, packages=['tldp', 'tldp/doctypes'], test_suite='nose.collector', diff --git a/tldp/__init__.py b/tldp/__init__.py index 59d377a..db536d8 100644 --- a/tldp/__init__.py +++ b/tldp/__init__.py @@ -6,3 +6,5 @@ import tldp.config import tldp.outputs import tldp.sources import tldp.inventory + +VERSION="0.7.8"