[Checkins] SVN: Products.GenericSetup/trunk/ - Add setup hair.

Tres Seaver tseaver at palladion.com
Mon Sep 24 18:40:36 EDT 2007


Log message for revision 79941:
   - Add setup hair.

Changed:
  _U  Products.GenericSetup/trunk/
  A   Products.GenericSetup/trunk/README.txt
  A   Products.GenericSetup/trunk/setup.py

-=-

Property changes on: Products.GenericSetup/trunk
___________________________________________________________________
Name: svn:ignore
   + *.egg-info


Added: Products.GenericSetup/trunk/README.txt
===================================================================
--- Products.GenericSetup/trunk/README.txt	                        (rev 0)
+++ Products.GenericSetup/trunk/README.txt	2007-09-24 22:40:36 UTC (rev 79941)
@@ -0,0 +1 @@
+(See Products/GenericSetup/README.txt).


Property changes on: Products.GenericSetup/trunk/README.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Added: Products.GenericSetup/trunk/setup.py
===================================================================
--- Products.GenericSetup/trunk/setup.py	                        (rev 0)
+++ Products.GenericSetup/trunk/setup.py	2007-09-24 22:40:36 UTC (rev 79941)
@@ -0,0 +1,59 @@
+import os
+try:
+    from setuptools import setup
+except ImportError:
+    from distutils.core import setup
+
+try:
+    from setuptools import find_packages
+except ImportError:
+    def find_packages():
+        raise NotImplementedError('Must have setuptools to make sdist!')
+
+here = os.path.abspath(os.path.dirname(__file__))
+package = os.path.join(here, 'Products', 'GenericSetup')
+
+def _package_doc(name):
+    f = open(os.path.join(package, name))
+    return f.read()
+NAME = 'GenericSetup'
+
+VERSION = _package_doc('version.txt').strip()
+if VERSION.startswith(NAME):
+    VERSION = VERSION[len(NAME):]
+while VERSION and VERSION[0] in '-_.':
+    VERSION = VERSION[1:]
+
+_boundary = '\n' + ('-' * 60) + '\n'
+README = (open(os.path.join(here, 'README.txt')).read()
+        + _boundary + _package_doc('README.txt')
+        + _boundary + _package_doc('CHANGES.txt')
+         )
+
+setup(name='Products.GenericSetup',
+      version=VERSION,
+      description='Read Zope configuration state from profile dirs / tarballs',
+      long_description=README,
+      classifiers=[
+        "Development Status :: 5 - Stable",
+        "Intended Audience :: Developers",
+        "Programming Language :: Python",
+        "Topic :: Internet :: WWW/HTTP",
+        "Topic :: Internet :: WWW/HTTP :: Zope2",
+        "Topic :: Internet :: WWW/HTTP :: Zope2 :: Product",
+        ],
+      keywords='web application server zope zope2',
+      author="Zope Corporation and contributors",
+      author_email="zope-cmf at lists.zope.org",
+      url="http://www.zope.org/Products/GenericSetup",
+      license="ZPL 2.1 (http://www.zope.org/Resources/License/ZPL-2.1)",
+      packages=find_packages(),
+      include_package_data=True,
+      namespace_packages=['Products'],
+      zip_safe=False,
+      #install_requires=['Zope >= 2.10']
+      entry_points="""
+      [zope2.initialize]
+      Products.GenericSetup = Products.GenericSetup:initialize
+      """,
+      )


Property changes on: Products.GenericSetup/trunk/setup.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native



More information about the Checkins mailing list