[Buildbot-commits] buildbot setup.py,1.46,1.47

Brian Warner warner at users.sourceforge.net
Thu Apr 24 22:49:46 UTC 2008


Update of /cvsroot/buildbot/buildbot
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18936

Modified Files:
	setup.py 
Log Message:
[project @ setup: pass a dict of setup_args instead of passing a bunch of keyword args to setup]
(This is a preparation for adding optional setuptools features.)

Original author: zooko at zooko.com
Date: 2008-04-15 03:37:45+00:00

Index: setup.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/setup.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- setup.py	1 Oct 2007 02:31:00 -0000	1.46
+++ setup.py	24 Apr 2008 22:49:44 -0000	1.47
@@ -44,49 +44,52 @@
     if re.search(r'\.\d+$', f):
         testmsgs.append("buildbot/test/mail/%s" % f)
 
-setup(name="buildbot",
-      version=version,
-      description="BuildBot build automation system",
-      long_description=long_description,
-      author="Brian Warner",
-      author_email="warner-buildbot at lothar.com",
-      url="http://buildbot.net/",
-      license="GNU GPL",
-      # does this classifiers= mean that this can't be installed on 2.2/2.3?
-      classifiers=[
-    'Development Status :: 4 - Beta',
-    'Environment :: No Input/Output (Daemon)',
-    'Environment :: Web Environment',
-    'Intended Audience :: Developers',
-    'License :: OSI Approved :: GNU General Public License (GPL)',
-    'Topic :: Software Development :: Build Tools',
-    'Topic :: Software Development :: Testing',
-    ],
+setup_args = {
+    'name': "buildbot",
+    'version': version,
+    'description': "BuildBot build automation system",
+    'long_description': long_description,
+    'author': "Brian Warner",
+    'author_email': "warner-buildbot at lothar.com",
+    'url': "http://buildbot.net/",
+    'license': "GNU GPL",
+    # does this classifiers= mean that this can't be installed on 2.2/2.3?
+    'classifiers': [
+        'Development Status :: 4 - Beta',
+        'Environment :: No Input/Output (Daemon)',
+        'Environment :: Web Environment',
+        'Intended Audience :: Developers',
+        'License :: OSI Approved :: GNU General Public License (GPL)',
+        'Topic :: Software Development :: Build Tools',
+        'Topic :: Software Development :: Testing',
+        ],
 
-      packages=["buildbot",
-                "buildbot.status", "buildbot.status.web",
-                "buildbot.changes",
-                "buildbot.steps",
-                "buildbot.process",
-                "buildbot.clients",
-                "buildbot.slave",
-                "buildbot.scripts",
-                "buildbot.test",
+    'packages': ["buildbot",
+              "buildbot.status", "buildbot.status.web",
+              "buildbot.changes",
+              "buildbot.steps",
+              "buildbot.process",
+              "buildbot.clients",
+              "buildbot.slave",
+              "buildbot.scripts",
+              "buildbot.test",
+              ],
+    'data_files': [("buildbot", ["buildbot/buildbot.png"]),
+                ("buildbot/clients", ["buildbot/clients/debug.glade"]),
+                ("buildbot/status/web",
+                 ["buildbot/status/web/classic.css",
+                  "buildbot/status/web/index.html",
+                  "buildbot/status/web/robots.txt",
+                  ]),
+                ("buildbot/scripts", ["buildbot/scripts/sample.cfg"]),
+                ("buildbot/test/mail", testmsgs),
+                ("buildbot/test/subdir", ["buildbot/test/subdir/emit.py"]),
                 ],
-      data_files=[("buildbot", ["buildbot/buildbot.png"]),
-                  ("buildbot/clients", ["buildbot/clients/debug.glade"]),
-                  ("buildbot/status/web",
-                   ["buildbot/status/web/classic.css",
-                    "buildbot/status/web/index.html",
-                    "buildbot/status/web/robots.txt",
-                    ]),
-                  ("buildbot/scripts", ["buildbot/scripts/sample.cfg"]),
-                  ("buildbot/test/mail", testmsgs),
-                  ("buildbot/test/subdir", ["buildbot/test/subdir/emit.py"]),
-                  ],
-      scripts = scripts,
-      cmdclass={'install_data': install_data_twisted},
-      )
+    'scripts ':  scripts,
+    'cmdclass': {'install_data': install_data_twisted},
+    }
+
+setup(**setup_args)
 
 # Local Variables:
 # fill-column: 71





More information about the Commits mailing list