summaryrefslogtreecommitdiff
path: root/Examples/python
Commit message (Collapse)AuthorAgeFilesLines
* Add missing print statements to the Python import_packages testsWilliam S Fulton2016-06-063-0/+23
|
* Examples readme file tweakWilliam S Fulton2016-06-051-7/+2
|
* remove builtin tests as they are already covered.Mike Romberg2016-06-0411-93/+1
|
* Apply patch to cleanup whitespace from wsfultonMike Romberg2016-06-046-16/+14
|
* and... remove all the .py files that were copied over from the source tree.Mike Romberg2016-06-031-1/+1
|
* remove -py3 related tests. Move py3 specific code to it's own moduleMike Romberg2016-06-0321-226/+49
|
* copy everything with a .py extension into the build tree (creating dirs if ↵Mike Romberg2016-06-031-4/+5
| | | | needed)
* debugMike Romberg2016-06-031-8/+4
|
* avoid the shell checks involving __init__.pyMike Romberg2016-06-031-2/+8
|
* Something optimizes out empty files and breaks the tests. Put something in.Mike Romberg2016-06-0317-0/+11
|
* split_wrapper -> split_modules to avoid conflict with clean ruleMike Romberg2016-06-0247-1/+2
|
* Add cases for tests without the -py3 flag even when PY3 is set.Mike Romberg2016-06-0224-3/+181
|
* Tests/Examples for the use case of splitting the wrapper.Mike Romberg2016-06-0224-0/+208
| | | | Half of the wrapper in a package and 1/2 is global.
* use %inline for testMike Romberg2016-05-243-8/+4
|
* disable namespace package buildMike Romberg2016-04-051-2/+1
|
* Attempt to calm the testing gods...Mike Romberg2016-04-051-34/+0
|
* use whatever name winders uses for .so files.Mike Romberg2016-04-051-2/+2
|
* Examples (and tests) for python namespace packagesMike Romberg2016-04-052-1/+36
|
* disable namespace package buildMike Romberg2016-04-051-2/+1
|
* spellingMike Romberg2016-04-051-1/+1
|
* Attempt to calm the testing gods...Mike Romberg2016-04-052-42/+45
|
* use whatever name winders uses for .so files.Mike Romberg2016-04-051-2/+2
|
* Don't run example for old pythonsMike Romberg2016-04-052-3/+6
|
* Examples (and tests) for python namespace packagesMike Romberg2016-04-0512-2/+133
|
* Support checking names of old-style classic classesAlec Cooper2016-02-042-4/+16
|
* Remove use of preinst-swig scriptWilliam S Fulton2015-08-2158-272/+463
| | | | | | | | | | | | | 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.
* Remove realpath from python/import_packages exampleWilliam S Fulton2015-08-2051-133/+100
|
* Warning fixes in generated Python code for 64bit Visual C++ on Windows.William S Fulton2015-07-031-3/+3
|
* Merge branch 'yazug-python_examples_pep8_whitespace_cleanup'William S Fulton2015-05-1040-325/+266
|\ | | | | | | | | | | | | * yazug-python_examples_pep8_whitespace_cleanup: Fixup 2 additional whitespace warnings pep8 found Add pep8 check for Examples/python autopep8 cleanup of Examples/python whitespace
| * Fixup 2 additional whitespace warnings pep8 foundJon Schlueter2015-05-082-2/+2
| | | | | | | | | | | | E241 multiple spaces after ',' cleanup in enum/runme.py and constants/runme.py
| * autopep8 cleanup of Examples/python whitespaceJon Schlueter2015-05-0840-323/+264
| | | | | | | | automated cleanup only of the Examples/python example code
* | Remove unused std_string.i from callback examplesWilliam S Fulton2015-05-101-2/+0
|/
* Portability fixes for python exampleWilliam S Fulton2015-04-041-2/+2
|
* PY3 fixes for import_package exampleWilliam S Fulton2015-04-047-7/+0
|
* Eliminate trivial differences between the reference examplesOlly Betts2014-11-072-9/+1
|
* Remove bogus ; after } in examplesOlly Betts2014-11-074-8/+8
|
* Bypass Python exmples not supported by -builtinWilliam S Fulton2014-10-074-6/+34
| | | | | Builtin classes as exceptions not supported, so don't run these aspects of the examples when using -builtin.
* Remove Python swigrun exampleWilliam S Fulton2014-10-076-145/+0
| | | | | | | | By default it doesn't work as it does not call the CEO's __del__ method as indicated in the comments. __del__ is called with -builtin but then the base class's __del__ is not available and so it errors out. Python 3 and -builtin goes into an endless loop. So removing as hopelessly broken.
* Display testname when running the import_packages Python examplesWilliam S Fulton2014-10-078-13/+46
| | | | For easier identification of what is running in these examples.
* Fix Python 3 import_packages/relativeimport2 example cleanWilliam S Fulton2014-10-071-9/+0
| | | | runme3.py files are generated and should not be checked in
* Small fixes to the relative import fix.Johan Hake2014-09-291-1/+2
| | | | | -- Now the tests actually runs -- Corrected the syntax for the fix in the yacc file
* Fix issue with relative import when using single header file import.Johan Hake2014-08-1223-0/+190
| | | | | | | | -- The commit propagates the package option to the newly create module node so it is recognized by SWIG -- Added a relativeimport test for this combination (in lack of py3 I was not able to test it with py3 but it "should just work")
* Fully clean Python examples and test-suiteKarl Wette2014-05-291-0/+5
|
* Fix compiler warnings in examples when using -std=c++98 -std=gnu89 -pedantic ↵William S Fulton2014-05-245-6/+6
| | | | -Wreturn-type
* Allow examples and test-suite to be built out of source treeKarl Wette2014-05-1177-245/+250
| | | | | | | | | | | | | | | | | | | | | | | - 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
* Fix {python|perl5|ruby|tcl}/java examplesKarl Wette2014-05-022-4/+9
| | | | | | | | | | - in Lib/gcj/cni.i: remove JvAllocObject(), change JvCreateJavaVM() argument from void* to JvVMInitArgs* - in Examples/{python|perl5|ruby|tcl}/java/Makefile: pass full class name to gcjh, add Example.h as dependency, do not override CXX for compiling C++ sources - in Examples/python/java/example.i: add destructor to class to prevent memory loss complaint
* Whitespace cleanup of Example MakefilesKarl Wette2014-04-1616-23/+22
|
* Further fixes when using type() when using -builtin to include module nameWilliam S Fulton2014-03-012-0/+5
| | | | | Using type() on a builtin type should include the package and module name, see http://docs.python.org/2/c-api/typeobj.html
* Update one dead link and remove anotherOlly Betts2014-02-241-2/+1
|
* Further cleaning up of class examplesOlly Betts2014-02-241-1/+0
|