source: trunk/setup.py @ 3

Revision 3, 1.2 KB checked in by xi, 9 years ago (diff)

Create directory structure and setup.py.

Line 
1
2from distutils.core import setup, Extension
3
4import sys
5if sys.version < '2.2.4':
6    from distutils.dist import DistributionMetadata
7    DistributionMetadata.classifiers = None
8    DistributionMetadata.download_url = None
9
10import os
11home = os.environ.get('HOME', '')
12
13setup(
14    name='Syck',
15    version='0.55.1',
16    package_dir={'': 'lib'},
17    packages=['syck'],
18    ext_modules=[
19        Extension('_syck', ['ext/_syckmodule.c'],
20            include_dirs=['../../include', '%s/include' % home, '/usr/local/include'],
21            library_dirs=['../../lib', '%s/lib' % home, '/usr/local/include'],
22            libraries=['syck'],
23        ),
24    ],
25    description="Python bindings for the Syck YAML parser",
26    author="Kirill Simonov",
27    author_email="xi@resolvent.net",
28    license="BSD",
29    url="http://xitology.org/python-syck/",
30    download_url="http://xitology.org/*FIXME*",
31    classifiers=[
32        "Development Status :: 2 - Pre-Alpha",
33        "Intended Audience :: Developers",
34        "License :: OSI Approved :: BSD License",
35        "Programming Language :: Python",
36        "Topic :: Software Development :: Libraries :: Python Modules",
37        "Topic :: Text Processing :: Markup",
38    ],
39)
40
Note: See TracBrowser for help on using the repository browser.