summaryrefslogtreecommitdiff
path: root/tools/python-yasm/setup.py
Commit message (Collapse)AuthorAgeFilesLines
* Use Cython instead of Pyrex.Peter Johnson2010-01-011-1/+1
| | | | svn path=/trunk/yasm/; revision=2256
* Unbreak python bindings on 64-bit Linux.Peter Johnson2009-12-301-4/+0
| | | | svn path=/trunk/yasm/; revision=2252
* Massive Python/Pyrex wrapper cleanup. We now use Pyxelator to generatePeter Johnson2007-01-291-0/+3
| | | | | | | | | | | | | | the C function and data structure wrappers for Pyrex. We now require Pyrex 0.9.5 to build the Python wrappers, as only >=0.9.5 has working weakref support. We actually need 0.9.5.1, but it's not yet released (0.9.5 has a crash bug in enum wrapping that we trigger). Pyxelator works a lot better with non-anonymous enums/structs, so libyasm has been scrubbed for this. Next step: full Yasm data structure inspection. svn path=/trunk/yasm/; revision=1745
* * setup.py: strip() opts["srcdir"] to unbreak distcheck.Peter Johnson2006-04-051-1/+1
| | | | svn path=/trunk/yasm/; revision=1462
* * setup.py: Incorporate cleanups suggested by Michael Urman.Peter Johnson2006-04-051-37/+8
| | | | svn path=/trunk/yasm/; revision=1461
* Quiet warnings in Pyrex code by adding "-w" if GCC detected.Peter Johnson2006-04-051-0/+2
| | | | | | | | * configure.ac: Pass GCC value to Makefile * Makefile.inc: Pass GCC value to python-setup.txt * setup.py: Check GCC value and append -w if necessary. svn path=/trunk/yasm/; revision=1460
* * pyrex.m4: Add a little documentation.Peter Johnson2006-04-041-1/+25
| | | | | | * setup.py, yasm.pyx, *.pxi: Add copyright/license. svn path=/trunk/yasm/; revision=1458
* Hook Python module into the build (even though it's pretty incomplete),Peter Johnson2006-04-041-23/+86
| | | | | | | | | | | | | | | | enabled with --enable-python (defaults to auto-detect). Thanks to some magic in python-yasm/Makefile.inc and setup.py, this actually plays nicely with automake distcheck. * m4/pythonhead.m4: Script to find Python.h. * m4/Makefile.inc: Include it in distfiles. * configure.ac: Add --enable-python option and Python and Pyrex detection. * tools/Makefile.inc: Pull tools/python-yasm/Makefile.inc into build. * python-yasm/Makefile.inc: Add automake build magic for extension. * setup.py: Likewise. svn path=/trunk/yasm/; revision=1456
* python-yasm: Modularize and clean up. Note the modularization is a littlePeter Johnson2006-04-031-1/+9
| | | | | | | bit broken: you need to remove yasm.c before running python setup.py build or the pyrex step may not actually run. svn path=/trunk/yasm/; revision=1450
* Checkin of initial work on a pyrex python binding for yasm. Very littleMichael Urman2006-04-021-0/+21
works so far. Build it with the command {{{python setup.py build}}}, and optionally symlink to the built yasm.so to enable importing it from a python started in the same directory. svn path=/trunk/yasm/; revision=1449