Commit graph

9 commits

Author SHA1 Message Date
cclauss
f4d44ac122 data = data.replace(pat, sub) 2017-04-14 02:41:48 +02:00
cclauss
51cafa738b Streamline replacement logic 2017-04-14 02:39:07 +02:00
Mathieu Virbel
34c812dbda cythonize: fix recursive find issue due to a missing replacement with Python 2015-02-12 00:52:16 +01:00
Olli Wang
3761cf233d Updates print and open file statements for Python3 compatibility.
Replaces print statement as print() and replaces file() with open() to resolve error occurred when running the `tools/build-ios.sh` script under Python 3 environment.

Signed-off-by: Olli Wang <olliwang@ollix.com>
2014-02-03 13:58:11 +08:00
Mathieu Virbel
71a81a6924 force environ when opening a subprocess (cythonize) 2013-10-22 13:29:45 +02:00
Mathieu Virbel
4a132275cb avoid listing non-existing path in PATH. 2013-05-07 08:48:16 +02:00
Mathieu Virbel
ad85ed15f0 detect if we could use cython-2.7 prior to cython. closes #28 2013-02-28 19:07:05 +01:00
Mathieu Virbel
199850bec5 cythonize: use the last part in the modname (example: lxml.etree modulename is etree only.) 2013-01-23 02:03:22 +01:00
Mathieu Virbel
92f38fe2d7 fix builtin module conflict
Now all the cythonized modules are rewrite with a mangled name of
package + module name. This avoid symbol conflict if you have the same
module.so as another library (for example, audiostream.sources.thread
and python thread.so was in conflict).

Then, a custom builtin importer is loaded before the application start,
and when you will want to import audiostream.sources.thread, if will
import builtin audiostream_sources_thread.

kivy/ios/lxml/audiostream recipes are impacted. A full rebuild is
needed.
2013-01-05 12:17:52 +01:00