libcloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject svn commit: r907427 - /incubator/libcloud/trunk/setup.py
Date Sun, 07 Feb 2010 14:41:22 GMT
Author: jerry
Date: Sun Feb  7 14:41:22 2010
New Revision: 907427

URL: http://svn.apache.org/viewvc?rev=907427&view=rev
Log:
setup.py magic URLs cleanup

Modified:
    incubator/libcloud/trunk/setup.py

Modified: incubator/libcloud/trunk/setup.py
URL: http://svn.apache.org/viewvc/incubator/libcloud/trunk/setup.py?rev=907427&r1=907426&r2=907427&view=diff
==============================================================================
--- incubator/libcloud/trunk/setup.py (original)
+++ incubator/libcloud/trunk/setup.py Sun Feb  7 14:41:22 2010
@@ -20,6 +20,9 @@
 from glob import glob
 from os.path import splitext, basename, join as pjoin
 
+HTML_VIEWSOURCE_BASE = 'https://svn.apache.org/viewvc/incubator/libcloud/trunk'
+PROJECT_BASE_DIR = 'http://incubator.apache.org/libcloud/'
+
 class TestCommand(Command):
     user_options = []
 
@@ -59,9 +62,10 @@
             ' --add-package=libcloud'
             ' --project-name=libcloud'
             ' --make-html'
-            ' --html-viewsource-base=https://svn.apache.org/viewvc/incubator/libcloud/trunk'
+            ' --html-viewsource-base="%s"'
             ' --project-base-dir=`pwd`'
-            ' --project-url="http://incubator.apache.org/libcloud/"'
+            ' --project-url="%s"'
+            % (HTML_VIEWSOURCE_BASE, PROJECT_BASE_DIR)
         )
 
 setup(



Mime
View raw message