summaryrefslogtreecommitdiff
path: root/Examples/python/import
Commit message (Collapse)AuthorAgeFilesLines
* Update Python tests to not use flatstaticmethod accessWilliam S Fulton2022-01-141-4/+4
| | | | | | Use Python class staticmethod syntax to access C++ static member functions, such as Klass.memberfunction, instead of Klass_memberfunction. Examples and test-suite changes in preparation for issue #2137.
* Modify examples to be both Python 2 and 3 compatibleWilliam S Fulton2020-08-151-44/+34
| | | | For removing dependency on 2to3
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-211-9/+14
| | | | | | | | | | | | | 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-13/+9
| | | | automated cleanup only of the Examples/python example code
* Remove bogus ; after } in examplesOlly Betts2014-11-071-2/+2
|
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-111-6/+6
| | | | | | | | | | | | | | | | | | | | | | | - 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
* Use a less confusing macro name, SWIG_PYTHON_NO_DEBUG => ↵William S Fulton2013-06-114-4/+4
| | | | SWIG_PYTHON_INTERPRETER_NO_DEBUG
* Add SWIG_PYTHON_NO_DEBUG macro for building Debug wrappers against the ↵William S Fulton2013-06-114-4/+4
| | | | Python Debug dll
* Python examples makefiles clean target fixed and use RUNPIPE and tidyupWilliam S Fulton2013-04-191-7/+7
|
* Fix Visual Studio examples to work when SWIG is unzipped into a directory ↵William S Fulton2013-01-154-8/+8
| | | | containing spaces.
* invoke using swig.exe instead of just swig in Visual Studio project filesWilliam S Fulton2009-03-204-8/+8
| | | | 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-184-576/+576
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10011 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* eol-style set to CRLFWilliam S Fulton2007-10-181-65/+65
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10010 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Remove cvsignore files: this is stored on svn:igonre property nowJohn Lenz2006-12-031-21/+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-204-8/+8
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9570 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fix for Visual Studio Express 2005 without database support installed - no ↵William S Fulton2006-02-074-16/+16
| | | | | | need to link against database libs git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8742 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix warnings when using directorsMarcelo Matus2004-11-071-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6687 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* back to non-inlined destructors until the makefiles are fixedWilliam S Fulton2004-10-272-8/+0
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6536 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Update for new runtime library approach (no more -runtime -noruntime)William S Fulton2004-10-2711-193/+28
| | | | | | | Comment about inline destructors needed for some compilers added git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix import error, please update MakefileMarcelo Matus2004-10-215-7/+17
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Update Examples to not build runtime libraryJohn Lenz2004-10-173-17/+5
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6415 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Added missing Visual Studio project fileWilliam S Fulton2004-09-062-0/+141
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* fix warnings with virtual destructorMarcelo Matus2004-09-011-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6196 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Windows example no longer uses prebuilt runtime DLL, rather it builds its ↵William S Fulton2004-07-116-11/+37
| | | | | | own runtime DLL git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6031 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* import and import_template examples that used the prebuilt runtime library ↵William S Fulton2004-07-104-17/+25
| | | | | | generate their own runtime library DLL/so and use that instead now git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6023 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* New -noruntime commandline optionWilliam S Fulton2003-11-255-10/+10
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* changed -c to -noruntimeDave Beazley2003-11-201-1/+1
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5354 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* *** empty log message ***William S Fulton2003-05-201-2/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4804 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* *** empty log message ***William S Fulton2003-05-081-6/+6
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4781 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Visual C++ project files for building native Windows runtime librariesWilliam S Fulton2003-05-086-2/+655
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4778 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* Fixes the runtime library examples to link with the runtime library. ↵William S Fulton2003-04-281-2/+1
| | | | | | Required for Cygwin. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4734 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* VC++ pollutionWilliam S Fulton2003-02-251-0/+2
| | | | git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4395 626c5289-ae23-0410-ae9c-e8d60b6d4f22
* The great mergeDave Beazley2002-11-3012-0/+291
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22