Index: /trunk/ext/_syckmodule.c
===================================================================
--- /trunk/ext/_syckmodule.c	(revision 3)
+++ /trunk/ext/_syckmodule.c	(revision 3)
@@ -0,0 +1,18 @@
+
+#include <Python.h>
+#include <syck.h>
+
+static PyMethodDef _syck_methods[] = {
+    {NULL}  /* Sentinel */
+};
+
+static char _syck_doc[] =
+    "This module provides low-level access to the Syck parser and emitter.\n"
+    "Do not use this module directly, use the module 'syck' instead.\n";
+
+PyMODINIT_FUNC
+init_syck(void)
+{
+    Py_InitModule3("_syck", _syck_methods, _syck_doc);
+}
+
Index: /trunk/tests/test_build.py
===================================================================
--- /trunk/tests/test_build.py	(revision 3)
+++ /trunk/tests/test_build.py	(revision 3)
@@ -0,0 +1,11 @@
+
+def main():
+    import sys, os, distutils.util
+    build_lib = os.path.join('build', 'lib.%s-%s' % (distutils.util.get_platform(), sys.version[0:3]))
+    sys.path.insert(0, build_lib)
+    import test_syck
+    test_syck.main('test_syck')
+
+if __name__ == '__main__':
+    main()
+
Index: /trunk/tests/test_syck.py
===================================================================
--- /trunk/tests/test_syck.py	(revision 3)
+++ /trunk/tests/test_syck.py	(revision 3)
@@ -0,0 +1,22 @@
+
+import unittest
+
+import _syck, syck
+
+
+class Test1(unittest.TestCase):
+
+    def testme(self):
+        pass
+
+class Test2(unittest.TestCase):
+
+    def testmetoo(self):
+        pass
+
+def main(module='__main__'):
+    unittest.main(module)
+
+if __name__ == '__main__':
+    main()
+
Index: /trunk/setup.py
===================================================================
--- /trunk/setup.py	(revision 3)
+++ /trunk/setup.py	(revision 3)
@@ -0,0 +1,40 @@
+
+from distutils.core import setup, Extension
+
+import sys
+if sys.version < '2.2.4':
+    from distutils.dist import DistributionMetadata
+    DistributionMetadata.classifiers = None
+    DistributionMetadata.download_url = None
+
+import os
+home = os.environ.get('HOME', '')
+
+setup(
+    name='Syck',
+    version='0.55.1',
+    package_dir={'': 'lib'},
+    packages=['syck'],
+    ext_modules=[
+        Extension('_syck', ['ext/_syckmodule.c'],
+            include_dirs=['../../include', '%s/include' % home, '/usr/local/include'],
+            library_dirs=['../../lib', '%s/lib' % home, '/usr/local/include'],
+            libraries=['syck'],
+        ),
+    ],
+    description="Python bindings for the Syck YAML parser",
+    author="Kirill Simonov",
+    author_email="xi@resolvent.net",
+    license="BSD",
+    url="http://xitology.org/python-syck/",
+    download_url="http://xitology.org/*FIXME*",
+    classifiers=[
+        "Development Status :: 2 - Pre-Alpha",
+        "Intended Audience :: Developers",
+        "License :: OSI Approved :: BSD License",
+        "Programming Language :: Python",
+        "Topic :: Software Development :: Libraries :: Python Modules",
+        "Topic :: Text Processing :: Markup",
+    ],
+)
+
Index: /trunk/Makefile
===================================================================
--- /trunk/Makefile	(revision 3)
+++ /trunk/Makefile	(revision 3)
@@ -0,0 +1,20 @@
+
+.PHONY: default build install test clean
+
+PYTHON=/usr/bin/python
+TEST=
+
+default: build
+
+build:
+	${PYTHON} setup.py build
+
+install: build
+	${PYTHON} setup.py install
+
+test: build
+	${PYTHON} tests/test_build.py ${TEST}
+
+clean:
+	${PYTHON} setup.py clean -a
+
