Last change
on this file since 1583 was
898,
checked in by hartmans, 16 years ago
|
Add pyyaml and libyaml packages
backported from lenny.
There is discussion about how these should go in the repository; these are added in this form
in order to make forward progress.
|
File size:
709 bytes
|
Rev | Line | |
---|
[898] | 1 | |
---|
| 2 | from setup import * |
---|
| 3 | |
---|
| 4 | from distutils.core import setup |
---|
| 5 | from distutils.extension import Extension |
---|
| 6 | from Pyrex.Distutils import build_ext |
---|
| 7 | |
---|
| 8 | if __name__ == '__main__': |
---|
| 9 | |
---|
| 10 | setup( |
---|
| 11 | name=NAME, |
---|
| 12 | version=VERSION, |
---|
| 13 | description=DESCRIPTION, |
---|
| 14 | long_description=LONG_DESCRIPTION, |
---|
| 15 | author=AUTHOR, |
---|
| 16 | author_email=AUTHOR_EMAIL, |
---|
| 17 | license=LICENSE, |
---|
| 18 | platforms=PLATFORMS, |
---|
| 19 | url=URL, |
---|
| 20 | download_url=DOWNLOAD_URL, |
---|
| 21 | classifiers=CLASSIFIERS, |
---|
| 22 | |
---|
| 23 | package_dir={'': 'lib'}, |
---|
| 24 | packages=['yaml'], |
---|
| 25 | ext_modules=[ |
---|
| 26 | Extension("_yaml", ["ext/_yaml.pyx"], libraries=['yaml']), |
---|
| 27 | ], |
---|
| 28 | |
---|
| 29 | cmdclass = {'build_ext': build_ext} |
---|
| 30 | ) |
---|
| 31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.