Issue1573

classification
Title: should have an option to specify where compile python files (*$py.class) are written
Type: Severity: normal
Components: Jythonc compiler Versions: 2.5.1
Milestone:
process
Status: closed Resolution: later
Dependencies: Superseder:
Assigned To: Nosy List: ejannett, fwierzbicki
Priority: Keywords:

Created on 2010-03-16.08:25:13 by ejannett, last changed 2013-02-20.03:14:10 by fwierzbicki.

Messages
msg5570 (view) Author: Emmanuel Jannetti (ejannett) Date: 2010-03-16.08:25:12
By default jython seams to write (pre)compiled *$py.class files beside *.py files.

This does not fit the case when the user who launch the jython application does not
own the application itself and so directories containing the *.py files.
(user may not have right to write the *$.py file)

Need a way to specify an alternate directory to store the *$py.class files or to deliver
pre-compiled *.py files.
(need to know if the last option is an acceptable/safe one.)
msg5571 (view) Author: Emmanuel Jannetti (ejannett) Date: 2010-03-16.08:33:07
Having a second though.

As *.class files depend on jdk used, "precompiled" option is not suitable.

Should be good to have these files wirtten into 'cachedir' beside packages' indexes
msg7720 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2013-02-20.03:14:10
In Jython3 there will be special directories for .class files - see http://www.python.org/dev/peps/pep-3147/ for details. I'm still going to close this as it is definitely on the roadmap but not in the way you suggest.
History
Date User Action Args
2013-02-20 03:14:10fwierzbickisetstatus: open -> closed
resolution: later
messages: + msg7720
nosy: + fwierzbicki
2010-03-16 08:33:07ejannettsetmessages: + msg5571
2010-03-16 08:25:13ejannettcreate