Commits

Anonymous committed 0f9f72f Draft

rationalised version import and bumped version for pypi test

Comments (0)

Files changed (2)

argparse_config.src/argparse_config/__init__.py

 """
 from argparse import _SubParsersAction, _StoreAction, _StoreConstAction
 
-__version__ = '0.4a2'
+__version__ = '0.4a3'
 
 def set_defaults(argparser, config_parser):
     try:

argparse_config.src/setup.py

 from setuptools import setup, find_packages
-
-version = '0.4a2'
+from argparse_config import __version__
 
 def readme():
     with open('README.rst') as f:
 
 setup(
     name='argparse_config',
-    version=version,
+    version=__version__,
     description="Default values for argparse commandline args read from a config file.",
     long_description=readme(),
     url='http://bitbucket.org/tikitu/argparse_config',