Author: ArcRiley
Date: 2009-01-07 00:08:25 -0500 (Wed, 07 Jan 2009)
New Revision: 1432

Modified:
   trunk/concordance/setup.py
Log:
added comments and formatting


Modified: trunk/concordance/setup.py
===================================================================
--- trunk/concordance/setup.py  2009-01-07 05:07:27 UTC (rev 1431)
+++ trunk/concordance/setup.py  2009-01-07 05:08:25 UTC (rev 1432)
@@ -27,6 +27,10 @@
 from distutils.core import setup
 from distutils.extension import Extension
 
+#
+# Concordance-XMPP only supports Python 3.0
+# Removing this test will only cause it to fail during build on Python 2.x
+# 
 if sys.version_info[0] != 3 :
   raise RuntimeError('Python 3.0 is required for this package.')
 
@@ -35,29 +39,22 @@
   libraries.append('ws2_32')
 
 setup(
-  name             = 'Concordance',
-  version          = __version__.split()[0],
+  #
+  #############################################################################
+  #
+  # PyPI settings (for pypi.python.org)
+  #
+  name             = 'Concordance-XMPP',         # Name of project, not module
+  version          = __version__.split()[0],     # Release version or "Trunk"
   description      = 'XMPP/Jingle Server Framework',
-  long_description = ''' ''',
-  author           = 'PySoy Group',
+  long_description = ''' ''',                              
+  author           = 'Copyleft Games Group',
   author_email     = 'pysoy-...@pysoy.org',
   maintainer       = 'Arc Riley',
   maintainer_email = 'arcri...@gmail.org',
   url              = 'http://pysoy.org/wiki/Concordance',
   download_url     = 'http://svn.pysoy.org/trunk/concordance',
   license          = 'GNU Affero General Public License version 3 (AGPLv3)',
-  ext_package      = '',
-  ext_modules      = [Extension(
-    name           = 'concordance',
-    sources        = ['src/__init__.c',
-                      'src/Core.c',
-                      'src/utils.c',
-    ],
-    include_dirs   = ['/usr/include/glib-2.0',
-                      '/usr/lib/glib-2.0/include',
-    ],
-    libraries=libraries,
-  )],
   classifiers      = [
     'Development Status :: 1 - Planning',
     'Environment :: No Input/Output (Daemon)',
@@ -67,6 +64,27 @@
     'Operating System :: OS Independent',
     'Programming Language :: C',
     'Programming Language :: Python :: 3',
-    'Topic :: Internet'
+    'Topic :: Communications :: Chat',
+    'Topic :: Communications :: Chat :: XMPP',
+    'Topic :: Communications :: Conferencing',
   ],
+  #
+  #############################################################################
+  #
+  # Build settings
+  #
+  ext_package      = '',                         # No package prefix is used
+  ext_modules      = [Extension(
+    name           = 'concordance',              # Name of extension module
+    sources        = ['src/__init__.c',
+                      'src/Core.c',
+                      'src/utils.c',
+    ],
+    include_dirs   = ['/usr/include/glib-2.0',
+                      '/usr/lib/glib-2.0/include',
+    ],
+    libraries      = libraries,
+  )],
+  #
+  #############################################################################
 )

_______________________________________________
PySoy-SVN mailing list
PySoy-SVN@pysoy.org
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to