Building lilypond assumes .pyc instead of .pyo

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Building lilypond assumes .pyc instead of .pyo

Jonatan Liljedahl

The lilypond installation procedure assumes that the build part did
produce some .pyc (python bytecode files) but on some distros
PYTHONOPTIMIZE is set so that .pyo files are created instead of .pyc,
resulting in an aborted installation process when the files are
missing...

Does the .pyc files really need to be copied? If so, one could check
the presence of PYTHONOPTIMIZE env variable.

/Jonatan    -=( http://kymatica.com )=-


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Building lilypond assumes .pyc instead of .pyo

Jonatan Liljedahl
On Sun, 13 Nov 2005 14:38:29 -0200
Jonatan Liljedahl <[hidden email]> wrote:

> The lilypond installation procedure assumes that the build part did
> produce some .pyc (python bytecode files) but on some distros
> PYTHONOPTIMIZE is set so that .pyo files are created instead of .pyc,
> resulting in an aborted installation process when the files are
> missing...
>
> Does the .pyc files really need to be copied? If so, one could check
> the presence of PYTHONOPTIMIZE env variable.

Or even simpler, use "*.py[co]" instead of "*.pyc"


/Jonatan    -=( http://kymatica.com )=-


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: Building lilypond assumes .pyc instead of .pyo

Jan Nieuwenhuizen
In reply to this post by Jonatan Liljedahl
Jonatan Liljedahl writes:

> but on some distros PYTHONOPTIMIZE is set

Wow, that's really broken, but nevertheless
thanks for the report, this is fixed in CVS.

Jan.

--
Jan Nieuwenhuizen <[hidden email]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user