Add /posts/ to homepage URL in setup.py.
authorW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 20:22:26 +0000 (16:22 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 20:22:26 +0000 (16:22 -0400)
setup.py

index 9e574561f236c26ca6d2ed0c2ef3f2a0a0bd68fc..aa0bbb421eb07211e4948bcfaf42365a84e68f24 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -24,6 +24,7 @@ import os.path
 from pypiezo import __version__
 
 
+package_name = 'pypiezo'
 classifiers = """\
 Development Status :: 2 - Pre-Alpha
 Intended Audience :: Developers
@@ -49,12 +50,12 @@ def find_packages(root='pypiezo'):
 _this_dir = os.path.dirname(__file__)
 packages = find_packages()
 
-setup(name='pypiezo',
+setup(name=package_name,
       version=__version__,
       maintainer='W. Trevor King',
       maintainer_email='wking@drexel.edu',
-      url='http://www.physics.drexel.edu/~wking/unfolding-disasters/pypiezo/',
-      download_url='http://www.physics.drexel.edu/~wking/code/python/pypiezo-%s.tar.gz' % __version__,
+      url='http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/%s/' % package_name,
+      download_url='http://www.physics.drexel.edu/~wking/code/python/%s-%s.tar.gz' % (package_name, __version__),
       license='GNU General Public License (GPL)',
       platforms=['all'],
       description=__doc__,