| 1 | |
|---|
| 2 | from distutils.core import setup, Extension |
|---|
| 3 | |
|---|
| 4 | import sys |
|---|
| 5 | if sys.version < '2.2.4': |
|---|
| 6 | from distutils.dist import DistributionMetadata |
|---|
| 7 | DistributionMetadata.classifiers = None |
|---|
| 8 | DistributionMetadata.download_url = None |
|---|
| 9 | |
|---|
| 10 | import os |
|---|
| 11 | home = os.environ.get('HOME', '') |
|---|
| 12 | |
|---|
| 13 | setup( |
|---|
| 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 | |
|---|