Issue1320
Created on 2009-04-20.13:45:04 by crankycoder, last changed 2009-07-31.07:18:50 by nriley.
File name |
Uploaded |
Description |
Edit |
Remove |
site.py.patch
|
crankycoder,
2009-04-20.13:45:02
|
|
|
|
site.py.patch
|
crankycoder,
2009-04-20.15:08:06
|
added zipfile check on jar files |
|
|
msg4555 (view) |
Author: Victor Ng (crankycoder) |
Date: 2009-04-20.13:45:02 |
|
addsitepackages doesn't properly append site-packages if the 'Lib'
directory is embedded within the Jython JAR file. This is a problem
when jython is deployed as a standalone JAR file.
The attached patch uses os.path.split and the __file__ attribute of
Lib/site.py to determine where site-packages is. I wasn't sure if
os2emx or riscos have the same behaviour so I also split the platform check.
|
msg4556 (view) |
Author: Victor Ng (crankycoder) |
Date: 2009-04-20.15:08:05 |
|
Oops. the previous patch was bad - this patch will inspect JAR files to
look for site-packages.
|
msg4751 (view) |
Author: Philip Jenvey (pjenvey) |
Date: 2009-05-29.01:41:31 |
|
I'm not really sure how site-packages is supposed to work with a
standalone jar. Currently if you create a Lib\site-packages directory
alongside the standalone jar it gets picked up.
|
msg4963 (view) |
Author: Victor Ng (crankycoder) |
Date: 2009-07-30.14:35:52 |
|
I didn't see the docs w.r.t putting Lib\site-packages when I filed this
bug. please close it.
|
msg4969 (view) |
Author: Nicholas Riley (nriley) |
Date: 2009-07-31.07:18:49 |
|
as requested.
|
|
Date |
User |
Action |
Args |
2009-07-31 07:18:50 | nriley | set | status: open -> closed resolution: invalid messages:
+ msg4969 nosy:
+ nriley |
2009-07-30 14:35:53 | crankycoder | set | messages:
+ msg4963 |
2009-05-29 01:41:31 | pjenvey | set | nosy:
+ pjenvey messages:
+ msg4751 |
2009-04-25 06:08:53 | otmarhumbel | set | assignee: otmarhumbel nosy:
+ otmarhumbel |
2009-04-20 15:08:07 | crankycoder | set | files:
+ site.py.patch messages:
+ msg4556 |
2009-04-20 13:45:04 | crankycoder | create | |
|