[wwwsearch-commits] r18306 - wwwsearch/ClientForm/trunk

jjlee at codespeak.net jjlee at codespeak.net
Sun Oct 9 03:54:04 CEST 2005


Author: jjlee
Date: Sun Oct  9 03:54:03 2005
New Revision: 18306

Added:
   wwwsearch/ClientForm/trunk/setup.py.in
      - copied, changed from r18305, wwwsearch/ClientForm/trunk/setup.py
Removed:
   wwwsearch/ClientForm/trunk/setup.py
Log:
Don't import ClientForm at install time

Deleted: /wwwsearch/ClientForm/trunk/setup.py
==============================================================================
--- /wwwsearch/ClientForm/trunk/setup.py	Sun Oct  9 03:54:03 2005
+++ (empty file)
@@ -1,74 +0,0 @@
-#!/usr/bin/env python
-
-"""Client-side HTML form handling.
-
-ClientForm is a Python module for handling HTML forms on the client
-side, useful for parsing HTML forms, filling them in and returning the
-completed forms to the server.  It developed from a port of Gisle Aas'
-Perl module HTML::Form, from the libwww-perl library, but the
-interface is not the same.
-"""
-
-from ClientForm import VERSION
-NAME = "ClientForm"
-PACKAGE = False
-LICENSE = "BSD"
-PLATFORMS = ["any"]
-ZIP_SAFE = True
-CLASSIFIERS = """\
-Development Status :: 5 - Production/Stable
-Intended Audience :: Developers
-Intended Audience :: System Administrators
-License :: OSI Approved :: BSD License
-Natural Language :: English
-Operating System :: OS Independent
-Programming Language :: Python
-Topic :: Internet
-Topic :: Internet :: WWW/HTTP
-Topic :: Internet :: WWW/HTTP :: Site Management
-Topic :: Internet :: WWW/HTTP :: Site Management :: Link Checking
-Topic :: Software Development :: Libraries
-Topic :: Software Development :: Libraries :: Python Modules
-Topic :: Software Development :: Testing
-Topic :: Software Development :: Testing :: Traffic Generation
-Topic :: System :: Networking :: Monitoring
-Topic :: System :: Systems Administration
-Topic :: Text Processing
-Topic :: Text Processing :: Markup
-Topic :: Text Processing :: Markup :: HTML
-Topic :: Text Processing :: Markup :: XML
-"""
-
-#-------------------------------------------------------
-# the rest is constant for most of my released packages:
-
-import ez_setup
-ez_setup.use_setuptools()
-
-import setuptools
-
-if PACKAGE:
-    packages, py_modules = [NAME], None
-else:
-    packages, py_modules = None, [NAME]
-
-doclines = __doc__.split("\n")
-
-setuptools.setup(
-    name = NAME,
-    version = VERSION,
-    license = LICENSE,
-    platforms = PLATFORMS,
-    classifiers = [c for c in CLASSIFIERS.split("\n") if c],
-    zip_safe = ZIP_SAFE,
-    test_suite = "test",
-    author = "John J. Lee",
-    author_email = "jjl at pobox.com",
-    description = doclines[0],
-    long_description = "\n".join(doclines[2:]),
-    url = "http://wwwsearch.sourceforge.net/%s/" % NAME,
-    download_url = ("http://wwwsearch.sourceforge.net/%s/src/"
-                    "%s-%s.tar.gz" % (NAME, NAME, VERSION)),
-    py_modules = py_modules,
-    packages = packages,
-    )

Copied: wwwsearch/ClientForm/trunk/setup.py.in (from r18305, wwwsearch/ClientForm/trunk/setup.py)
==============================================================================
--- wwwsearch/ClientForm/trunk/setup.py	(original)
+++ wwwsearch/ClientForm/trunk/setup.py.in	Sun Oct  9 03:54:03 2005
@@ -1,4 +1,6 @@
 #!/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.
 
@@ -9,7 +11,8 @@
 interface is not the same.
 """
 
-from ClientForm import VERSION
+@{import ClientForm}
+VERSION = "(mechanize.__version__)"
 NAME = "ClientForm"
 PACKAGE = False
 LICENSE = "BSD"
@@ -63,7 +66,7 @@
     zip_safe = ZIP_SAFE,
     test_suite = "test",
     author = "John J. Lee",
-    author_email = "jjl at pobox.com",
+    author_email = "jjl@@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