Message8429
Standalone mode in Jython is restricted to only classes bundled in Lib/. For purposes of working with Clamp, it would be ideal if pth files (as supported by site.py) was supported, along with Lib/site-packages
The first part of this solution can modify site.addpackage such that it attempts to open, then process, pth files if available by using ClassLoader.getResourceAsStream. Such FileInputStreams can be given to the open function; the class loader should likely be Thread.currentThread().getContextClassLoader() |
|
Date |
User |
Action |
Args |
2014-05-17 20:22:11 | zyasoft | set | recipients:
+ zyasoft |
2014-05-17 20:22:11 | zyasoft | set | messageid: <1400358131.37.0.325882430244.issue2149@psf.upfronthosting.co.za> |
2014-05-17 20:22:11 | zyasoft | link | issue2149 messages |
2014-05-17 20:22:11 | zyasoft | create | |
|