Make fails on Fedora 11 because py_compilefiles is missing
Bug #395107 reported by
Miroslav
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gedit XML Tools |
Fix Committed
|
Medium
|
Simon Wenner |
Bug Description
Make fails with /bin/sh: py_compilefiles: command not found on Fedora 11.
Packages python-
The py_compilefiles is nowhere to be found in the repos: yum provides "*/py_compilefiles" returns No Matches.
I'm probably missing something obvious, but since the plugin works like a charm if one manually executes only part of the Makefile:
mkdir -p ~/.gnome2/
cp -f xmltools.py ~/.gnome2/
cp -f xmlprocessor.py ~/.gnome2/
cp -f xmltools.
perhaps you could handle a case of missing py_compilefiles automatically and just go with uncompiled .py files?
To post a comment you must log in.
Thanks for your report. Someone should probably write a proper build system :-)
But I commited a fix to trunk. I hope it solves your problem.
- py_compilefiles *.py compile( 'xmltools. py')" compile( 'xmlprocessor. py')"
+ #py_compilefiles *.py (does not work on fedora)
+ python -c "import py_compile; py_compile.
+ python -c "import py_compile; py_compile.