Revision: 718
          http://rpy.svn.sourceforge.net/rpy/?rev=718&view=rev
Author:   lgautier
Date:     2008-12-17 06:59:43 +0000 (Wed, 17 Dec 2008)

Log Message:
-----------
Fixed setup.py to get version number from rpy/__init__.py

Modified Paths:
--------------
    rpy2/branches/version_2.0.x/NEWS
    rpy2/branches/version_2.0.x/rpy/__init__.py
    rpy2/branches/version_2.0.x/setup.py

Modified: rpy2/branches/version_2.0.x/NEWS
===================================================================
--- rpy2/branches/version_2.0.x/NEWS    2008-12-14 12:35:42 UTC (rev 717)
+++ rpy2/branches/version_2.0.x/NEWS    2008-12-17 06:59:43 UTC (rev 718)
@@ -8,6 +8,8 @@
 - Having the environment variable R_HOME specified resulted in an error
   when importing :mod:`rpy2.rinterface` # root of the problem spotted by Peter
 
+- Setup.py has no longer a (possibly outdated) static hardcoded version number
+  for rpy2
 
 Release 2.0.0
 =============

Modified: rpy2/branches/version_2.0.x/rpy/__init__.py
===================================================================
--- rpy2/branches/version_2.0.x/rpy/__init__.py 2008-12-14 12:35:42 UTC (rev 
717)
+++ rpy2/branches/version_2.0.x/rpy/__init__.py 2008-12-17 06:59:43 UTC (rev 
718)
@@ -1 +1 @@
-__version__ = '2.0.0'
+__version__ = '2.0.1-dev'

Modified: rpy2/branches/version_2.0.x/setup.py
===================================================================
--- rpy2/branches/version_2.0.x/setup.py        2008-12-14 12:35:42 UTC (rev 
717)
+++ rpy2/branches/version_2.0.x/setup.py        2008-12-17 06:59:43 UTC (rev 
718)
@@ -4,7 +4,7 @@
 
 
 pack_name = 'rpy2'
-pack_version = '2.0.x-dev'
+pack_version = __import__('rpy').__version__
 
 RHOMES = os.getenv('RHOMES')
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to