summaryrefslogtreecommitdiff
path: root/Examples/python/contract
Commit message (Collapse)AuthorAgeFilesLines
* Modify examples to be both Python 2 and 3 compatibleWilliam S Fulton2020-08-151-3/+3
| | | | For removing dependency on 2to3
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-211-5/+8
| | | | | | | | | | | | | Complete the prototype removal in ca1431. The script prevents SWIGTOOL=gdb from working as gdb can't be used to debug a shell script, it requires a binary. Add support for SWIGTOOL in all the examples. SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles. See issue #473.
* autopep8 cleanup of Examples/python whitespaceJon Schlueter2015-05-081-12/+3
| | | | automated cleanup only of the Examples/python example code
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | - Examples/Makefile.in rules use SRCDIR as the relative source directory - ./config.status replicates Examples/ source directory tree in build directory, and copies each Makefile to build directory, prefixed with a header which sets SRCDIR to source directory - Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir - Examples/test-suite/errors/Makefile.in needs to filter out source directory from SWIG error messages - Lua: embedded interpreters are passed location of run-time test - Python: copy run-time scripts to build directory because of 2to3 conversion; import_packages example copies __init__.py from source directory; test-suite sets SCRIPTDIR to location of run-time tests - Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir can be substituted with SRCDIR; removed './' from require() statements so that NODE_PATH can be used to point Node.js to build directory
* Whitespace cleanup of Example MakefilesKarl Wette2014-04-161-1/+1
|
* Use a less confusing macro name, SWIG_PYTHON_NO_DEBUG => ↵William S Fulton2013-06-111-1/+1
| | | | SWIG_PYTHON_INTERPRETER_NO_DEBUG
* Add SWIG_PYTHON_NO_DEBUG macro for building Debug wrappers against the ↵William S Fulton2013-06-111-1/+1
| | | | Python Debug dll
* Python examples makefiles clean target fixed and use RUNPIPE and tidyupWilliam S Fulton2013-04-191-8/+8
|
* Fix Visual Studio examples to work when SWIG is unzipped into a directory ↵William S Fulton2013-01-151-2/+2
| | | | containing spaces.
* invoke using swig.exe instead of just swig in Visual Studio project filesWilliam S Fulton2009-03-201-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Merged the Python 3.0 support branch. The merging progress is not so smooth, ↵Haoyu Bai2008-09-111-0/+1
| | | | | | | | | | | | | so hope this commit won't make anything broken. This is the (incomplemete) log produced by svnmerge.py: Merged revisions 10405-10409,10420-10422,10426,10438,10445,10451,10454-10465,10467,10473-10475,10485,10488-10489,10493-10495,10497,10509-10510,10513-10514,10517,10520,10525,10528-10529,10533-10535,10554-10557,10570,10573,10593,10614,10666-10669,10673,10678,10687,10690,10704-10706,10731,10744,10750-10752,10755,10759,10770,10775-10776,10813,10819 via svnmerge from https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-bhy git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10834 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* eol-style set to CRLFWilliam S Fulton2007-10-181-148/+148
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove cvsignore files: this is stored on svn:igonre property nowJohn Lenz2006-12-031-14/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* *** empty log message ***William S Fulton2006-11-201-0/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9572 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Use .pyd instead of .dll as Python-2.5 stops working with dllsWilliam S Fulton2006-11-201-2/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Correct some commentsWilliam S Fulton2006-07-041-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9185 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix for Visual Studio Express 2005 without database support installed - no ↵William S Fulton2006-02-071-4/+4
| | | | | | need to link against database libs git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* use preinst-swig in all the examplesMarcelo Matus2005-11-081-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix extern declarationsWilliam S Fulton2005-06-281-0/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7321 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* .cvsignoreWilliam S Fulton2004-01-201-0/+13
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5653 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* *** empty log message ***Dave Beazley2003-11-251-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* new exampleDave Beazley2003-11-055-0/+239
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5268 626c5289-ae23-0410-ae9c-e8d60b6d4f22