From cf37fffc117cb2eec0f69a3cee2d916a9972c9a2 Mon Sep 17 00:00:00 2001 From: Will Kahn-Greene Date: Thu, 1 Sep 2011 19:35:31 -0400 Subject: Switches to Zooko's version method This centralizes the version number into a single place but makes it available in the code as well as in setup.py. Based on the recipe found at http://stackoverflow.com/questions/458550/standard-way-to-embed-version-into-python-package/7071358#7071358 --- mediagoblin/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mediagoblin/__init__.py') diff --git a/mediagoblin/__init__.py b/mediagoblin/__init__.py index dec83661..90377fae 100644 --- a/mediagoblin/__init__.py +++ b/mediagoblin/__init__.py @@ -14,3 +14,4 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . +from mediagoblin._version import __version__ -- cgit v1.2.3