Commits

Anonymous committed 6f72b0a

Added the download URL

Comments (0)

Files changed (1)

 import os
 import setuptools
 
+URL = 'http://bitbucket.org/ares/repozewhatpluginsredis/'
+
 here = os.path.abspath(os.path.dirname(__file__))
 readme = open(os.path.join(here, 'README')).read()
 version = open(os.path.join(here, 'doc', 'VERSION')).readline().rstrip()
+download_url=''.join([URL, 'get']) + version + '.zip'  #'.gz'
 
 setuptools.setup(
       package_dir={'': 'lib'},
       author_email='devel@jonasmelian.com',
       description=__doc__,
       long_description=readme,
-      url='http://bitbucket.org/ares/repozewhatpluginsredis/',
-      download_url='http://bitbucket.org/ares/repozewhatpluginsredis/',
+      url=URL,
+      download_url=download_url,
       keywords=('web application server wsgi authorization redis repoze'),
       license='Apache License, Version 2.0',
       classifiers=['Development Status :: 4 - Beta',