Author: ArcRiley
Date: 2009-01-01 23:41:03 -0500 (Thu, 01 Jan 2009)
New Revision: 1404

Added:
   trunk/concordance/src/__init__.c
Modified:
   trunk/concordance/setup.py
Log:
Basic module initialization


Modified: trunk/concordance/setup.py
===================================================================
--- trunk/concordance/setup.py  2009-01-01 17:50:48 UTC (rev 1403)
+++ trunk/concordance/setup.py  2009-01-02 04:41:03 UTC (rev 1404)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python3.0
 
-''' Concordance XMPP/Jingle Server Framework; setup script '''
+''' Concordance XMPP/Jingle Server Framework '''
 
 __credits__ = '''Copyright (C) 2009 Copyleft Games Group
 
@@ -39,13 +39,14 @@
   author_email     = 'pysoy-...@pysoy.org',
   maintainer       = 'Arc Riley',
   maintainer_email = 'arcri...@gmail.org',
-  url              = 'http://pysoy.org/',
+  url              = 'http://pysoy.org/wiki/Concordance',
   download_url     = 'http://svn.pysoy.org/trunk/concordance',
   license          = 'GNU Affero General Public License version 3 (AGPLv3)',
-  packages         = ['concordance'],
-  package_dir      = {'concordance' : 'scripts'},
-  ext_package      = 'concordance',
-  ext_modules      = extensions,
+  ext_package      = '',
+  ext_modules      = [Extension(
+    name           = 'concordance',
+    sources        = ['src/__init__.c'],
+  )],
   classifiers      = [
     'Development Status :: 1 - Planning',
     'Environment :: No Input/Output (Daemon)',

Added: trunk/concordance/src/__init__.c
===================================================================
--- trunk/concordance/src/__init__.c                            (rev 0)
+++ trunk/concordance/src/__init__.c    2009-01-02 04:41:03 UTC (rev 1404)
@@ -0,0 +1,40 @@
+/*
+# Concordance XMPP/Jingle Server Framework
+#
+# Copyright (C) 2009 Copyleft Games Group
+#
+#  This program is free software; you can redistribute it and/or modify
+#  it under the terms of the GNU Affero General Public License as published
+#  by the Free Software Foundation, either version 3 of the License, or
+#  (at your option) any later version.
+#
+#  This program is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#  GNU Affero General Public License for more details.
+#
+#  You should have received a copy of the GNU Affero General Public License
+#  along with this program; if not, see http://www.gnu.org/licenses
+#
+# $Id: Texture.pym 1393 2008-12-31 23:51:25Z ArcRiley $
+*/
+
+#include "Python.h"
+
+static PyMethodDef concordanceMethods[] = {
+  {NULL, NULL}
+};
+
+static struct PyModuleDef concordanceModule = {
+  PyModuleDef_HEAD_INIT,
+  "concordance",
+  NULL,
+  -1,
+  concordanceMethods,
+  NULL, NULL, NULL, NULL
+};
+
+PyMODINIT_FUNC
+PyInit_concordance(void) {
+  return PyModule_Create(&concordanceModule);
+}


Property changes on: trunk/concordance/src/__init__.c
___________________________________________________________________
Added: svn:mergeinfo
   + 

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

Reply via email to