[Checkins] SVN: Products.ExternalEditor/trunk/ Started updating for egg-usage

Hanno Schlichting plone at hannosch.info
Sat May 3 14:56:14 EDT 2008


Log message for revision 86267:
  Started updating for egg-usage
  

Changed:
  U   Products.ExternalEditor/trunk/CHANGES.txt
  U   Products.ExternalEditor/trunk/setup.py

-=-
Modified: Products.ExternalEditor/trunk/CHANGES.txt
===================================================================
--- Products.ExternalEditor/trunk/CHANGES.txt	2008-05-03 18:50:38 UTC (rev 86266)
+++ Products.ExternalEditor/trunk/CHANGES.txt	2008-05-03 18:56:13 UTC (rev 86267)
@@ -1,5 +1,9 @@
 External Editor Change Log
 
+  unreleased - 1.0 Release
+
+    - Updated package metadata to be usable as a package.
+
   01/03/2007 - 0.9.3 Release
 
     - Fixed issue with 'manage_FTPget' overriding the 'Content-Type'

Modified: Products.ExternalEditor/trunk/setup.py
===================================================================
--- Products.ExternalEditor/trunk/setup.py	2008-05-03 18:50:38 UTC (rev 86266)
+++ Products.ExternalEditor/trunk/setup.py	2008-05-03 18:56:13 UTC (rev 86267)
@@ -1,25 +1,25 @@
-import sys
-from distutils.core import setup
+from setuptools import setup, find_packages
 from zopeedit import __version__
 
-try:
-    import py2exe
-except ImportError:
-    if sys.platform == 'win32':
-        raise
-    packages = None
-else:
-    packages = ['Plugins']
 
-setup(name='zopeedit',
+setup(name='Products.ExternalEditor',
       version=__version__,
       description="Zope External Editor",
+      classifiers=[
+        'Framework :: Zope2',
+      ],
       author="Casey Duncan and Contributors, maintained by Chris McDonough",
       author_email="chrism at plope.com",
       url="http://www.plope.com/software/ExternalEditor",
-      scripts=['zopeedit.py'],
-      windows=['zopeedit.py'],
-      options={"py2exe": {"packages": ["encodings", "Plugins", "win32com"]}},
-      
-      packages=packages
+      packages=find_packages(),
+      namespace_packages=['Products'],
+      include_package_data=True,
+      zip_safe=False,
+      install_requires=[
+        'setuptools',
+      ],
+      entry_points="""
+      [console_scripts]
+          zopeedit=Products.ExternalEditor.zopeedit:main
+      """,
       )



More information about the Checkins mailing list