Commits

Jan Brohl committed 2e6fd99

weniger arbeit bei neuen versionen

Comments (0)

Files changed (1)

 @copyright: Copyright (c) 2012, Jan Brohl <janbrohl@t-online.de>. All rights reserved.
 '''
 from distutils.core import setup
-setup(name="SimpleREST",
-      version="0.1",
+
+ver = "0.1"
+name = "SimpleREST"
+url = "https://bitbucket.org/janbrohl/" + name.lower()
+
+setup(name=name,
+      version=ver,
       author="Jan Brohl",
       author_email="janbrohl@t-online.de",
-      url="https://bitbucket.org/janbrohl/simplerest",
-      packages=["simplerest"],
+      url=url,
+      download_url="%s/downloads/%s-%s.zip" % (url, name, ver),
       package_dir={"":"src"},
       data_files=["license.txt"],
       license="Simplified BSD see license.txt",
-      description="Use REST-APIs the easy way.",
-      provides=["simplerest"])
+      provides=[name.lower()],
+
+      packages=["simplerest"],
+      description="Use REST-APIs the easy way."
+      )