Ticket #6117: setup.py
File setup.py, 465 bytes (added by artur_spruce@…, 19 years ago) |
---|
Line | |
---|---|
1 | from distutils.core import setup, Extension |
2 | |
3 | module1 = Extension('spam', |
4 | #libraries = ['boost_python'], |
5 | #library_dirs = ['/opt/local/lib'], |
6 | sources = ['spammodule.c']) |
7 | |
8 | # Uncomment libraries and library_dirs in the above to reproduce the problem |
9 | # with incorrect linking. |
10 | |
11 | setup (name = 'Spam module', |
12 | version = '1.0', |
13 | description = 'This is a demo package', |
14 | ext_modules = [module1]) |