diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-08-05 17:14:16 +0200 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-08-05 17:14:16 +0200 |
commit | 2acd7e9e1223672687a5c628407fc8528f64246a (patch) | |
tree | fd59ba0ede96b826763d98b76311b0c9e27898cb | |
parent | d4495c74689adc9eb715c0c589a1f9e04a6d903c (diff) | |
download | external_python_setuptools-2acd7e9e1223672687a5c628407fc8528f64246a.tar.gz external_python_setuptools-2acd7e9e1223672687a5c628407fc8528f64246a.tar.bz2 external_python_setuptools-2acd7e9e1223672687a5c628407fc8528f64246a.zip |
Move version into its own file so that setuptools machinery isn't necessary to elicit the version.
--HG--
extra : rebase_source : 1611131e6765a30fd0fe94d8455418ccd3ae46ae
-rw-r--r-- | release.py | 2 | ||||
-rw-r--r-- | setuptools/__init__.py | 2 | ||||
-rw-r--r-- | setuptools/version.py | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -16,7 +16,7 @@ def before_upload(): _add_bootstrap_bookmark() files_with_versions = ( - 'ez_setup.py', 'setuptools/__init__.py', + 'ez_setup.py', 'setuptools/version.py', ) test_info = "Travis-CI tests: http://travis-ci.org/#!/jaraco/setuptools" diff --git a/setuptools/__init__.py b/setuptools/__init__.py index 6dc64e5e..45b95f90 100644 --- a/setuptools/__init__.py +++ b/setuptools/__init__.py @@ -7,8 +7,8 @@ from distutils.core import Command as _Command from distutils.util import convert_path import os import sys +from setuptools.version import __version__ -__version__ = '0.9.9' __all__ = [ 'setup', 'Distribution', 'Feature', 'Command', 'Extension', 'Require', 'find_packages' diff --git a/setuptools/version.py b/setuptools/version.py new file mode 100644 index 00000000..1b1a934d --- /dev/null +++ b/setuptools/version.py @@ -0,0 +1 @@ +__version__ = '0.9.9' |