Rev 116: It seems setup.py had a different idea of the current version. in http://bazaar.launchpad.net/~meliae-dev/meliae/trunk

John Arbash Meinel john at arbash-meinel.com
Wed Dec 23 15:19:35 GMT 2009


At http://bazaar.launchpad.net/~meliae-dev/meliae/trunk

------------------------------------------------------------
revno: 116
revision-id: john at arbash-meinel.com-20091223151916-xltb5xx8wakmqf7b
parent: john at arbash-meinel.com-20091223151424-o7cv8l1w5ycanpwv
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: trunk
timestamp: Wed 2009-12-23 09:19:16 -0600
message:
  It seems setup.py had a different idea of the current version.
  
  Fix it so that it takes the value from meliae.__version__ instead.
  And release 0.1.2, since 0.1.1 seemed to have already been taken.
-------------- next part --------------
=== modified file 'meliae/__init__.py'
--- a/meliae/__init__.py	2009-12-23 15:14:24 +0000
+++ b/meliae/__init__.py	2009-12-23 15:19:16 +0000
@@ -14,6 +14,6 @@
 
 """A simple way to dump memory consumption of a running python program."""
 
-version_info = (0, 1, 0, 'final', 0)
+version_info = (0, 1, 2, 'final', 0)
 __version__ = '.'.join(map(str, version_info))
 

=== modified file 'setup.py'
--- a/setup.py	2009-09-18 17:00:34 +0000
+++ b/setup.py	2009-12-23 15:19:16 +0000
@@ -1,24 +1,25 @@
 #!/usr/bin/env python
 # Copyright (C) 2009 Canonical Ltd
-# 
+#
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License version 3 as
 # published by the Free Software Foundation.
-# 
+#
 # This program is distributed in the hope that it will be useful, but
 # WITHOUT ANY WARRANTY; without even the implied warranty of
 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 # General Public License for more details.
-# 
+#
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
 def config():
+    import meliae
     ext = []
     kwargs = {
         "name": "meliae",
-        "version": "0.1.1",
+        "version": meliae.__version__,
         "description": "Dump Memory Content to disk for Python Programs",
         "author": "John Arbash Meinel",
         "author_email": "john.meinel at canonical.com",



More information about the bazaar-commits mailing list