[wwwsearch-commits] r19277 - wwwsearch/ClientForm/trunk
jjlee at codespeak.net
jjlee at codespeak.net
Mon Oct 31 18:22:18 CET 2005
Author: jjlee
Date: Mon Oct 31 18:22:17 2005
New Revision: 19277
Modified:
wwwsearch/ClientForm/trunk/setup.py.in
Log:
Don't preprocess setup.py any more: grab version from source file
Modified: wwwsearch/ClientForm/trunk/setup.py.in
==============================================================================
--- wwwsearch/ClientForm/trunk/setup.py.in (original)
+++ wwwsearch/ClientForm/trunk/setup.py.in Mon Oct 31 18:22:17 2005
@@ -1,7 +1,4 @@
#!/usr/bin/env python
-@# This file is processed by EmPy
-# This file was generated by EmPy from setup.py.in : do not edit.
-
"""Client-side HTML form handling.
ClientForm is a Python module for handling HTML forms on the client
@@ -15,8 +12,9 @@
http://codespeak.net/svn/wwwsearch/ClientForm/trunk#egg=ClientForm-dev
"""
-@{import ClientForm}
-VERSION = "@(ClientForm.VERSION)"
+import re
+VERSION_MATCH = re.search(r'VERSION = "(.*)"', open("ClientForm.py").read())
+VERSION = VERSION_MATCH.group(1)
NAME = "ClientForm"
PACKAGE = False
LICENSE = "BSD"
@@ -70,7 +68,7 @@
zip_safe = ZIP_SAFE,
test_suite = "test",
author = "John J. Lee",
- author_email = "jjl@@pobox.com",
+ author_email = "jjl at pobox.com",
description = doclines[0],
long_description = "\n".join(doclines[2:]),
url = "http://wwwsearch.sourceforge.net/%s/" % NAME,
More information about the wwwsearch-commits
mailing list