[Synopsis-changes] Synopsis/Synopsis setup.py,1.6,1.7

Stefan Seefeld stefan at synopsis.fresco.org
Tue Oct 7 03:52:24 UTC 2003


Update of /cvs/synopsis/Synopsis
In directory frida:/tmp/cvs-serv28605

Modified Files:
	setup.py 
Log Message:
add more metadata to the packages

Index: setup.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/setup.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -d -r1.6 -r1.7
--- setup.py	29 Sep 2003 20:03:14 -0000	1.6
+++ setup.py	7 Oct 2003 03:52:22 -0000	1.7
@@ -17,6 +17,12 @@ from Synopsis.dist.command.build_doc imp
 from Synopsis.dist.command.build import build
 from Synopsis.dist.command.build_ext import build_ext
 
+# patch distutils if it can't cope with the "classifiers" keyword
+from distutils.dist import DistributionMetadata
+if not hasattr(DistributionMetadata, 'classifiers'):
+    DistributionMetadata.classifiers = None
+    DistributionMetadata.download_url = None
+
 module_ext = sysconfig.get_config_var('SO')
 
 def prefix(list, pref): return map(lambda x, p=pref: p + x, list)
@@ -49,9 +55,19 @@ setup(cmdclass={'config':config,
       name="synopsis",
       version=__version__,
       author="Stefan Seefeld & Stephen Davies",
-      author_email="synopsis-devel at lists.sf.net",
+      author_email="stefan at fresco.org",
       description="source code inspection tool",
       url="http://synopsis.fresco.org",
+      download_url = 'http://synopsis.fresco.org/download',
+      classifiers = ['Development Status :: 5 - Production/Stable',
+                     'Environment :: Console',
+                     'Environment :: Web Environment',
+                     'Intended Audience :: Developers',
+                     'License :: OSI Approved :: GNU General Public License (GPL)',
+                     'Operating System :: POSIX',
+                     'Programming Language :: Python',
+                     'Programming Language :: C++',
+                     'Topic :: Software Development :: Documentation'],
       packages=py_packages,
       ext_modules=ext_modules,
       scripts=prefix(scripts, "bin/"),





More information about the Synopsis-changes mailing list