trbs
30 Aug 2007, 8:35 AM
Announcing the Python JSB Builder 0.9
Download Python Builder here (http://extjs-py-builder.googlecode.com/svn/trunk/build_ext_packages.py)
The python builder has it's own google hosted project, so that people's suggestions can be incorporated, at http://code.google.com/p/extjs-py-builder/
Notes / Futures:
If your Python installation doesn't have them already, you'll need to install elementtree or cElementTree. If you cannot install elementree system-wide you must set the PYTHONPATH environment variable so that Python can still find the package where ever it's installed.
The script runs on any Python version starting from 2.3. It should also run on Windows but that's not tested or supported. It's designed to be run on Unix style machines like: MacOSX, Linux, *BSD and Solaris. Since Python is installed on many Unix systems by default it should run flawlessly on almost any webserver.
If you have administrative rights on the system and you want the build process to be very fast, you can install Python's just-in-time compiler called Psyco. This speeds up execution time (mostly jsmin) by more then 10 times.
It can use various styles of (aggressive) minimization strategies. Like: jsmin, shrinksafe,
a packer (packing is compression, and for production it's much better to use gzip then packers!!!!) and very soon yui-compressor support.
If you have issues, find bugs, feature requests, please use the issue tracker and post in this thread.
ChangeLog
0.1: first public version (April 6, 2007)
0.2: added options and jsmin, fallback on elementtree (April 14, 2007)
0.3: reduced size by running rhino compressor on source files
0.4: intermediated release, fixes to much to list here
0.5: added options again, more error messages
0.6: added jspacker
0.7: fix for python2.3
0.7.1: added psyco support (greatly speedsup jsmin)
0.8: added yui-compressor (for javascript, css will follow soon)
0.9: fixed import of elementtree for python2.5 (thanks aconran!)
Download Python Builder here (http://extjs-py-builder.googlecode.com/svn/trunk/build_ext_packages.py)
The python builder has it's own google hosted project, so that people's suggestions can be incorporated, at http://code.google.com/p/extjs-py-builder/
Notes / Futures:
If your Python installation doesn't have them already, you'll need to install elementtree or cElementTree. If you cannot install elementree system-wide you must set the PYTHONPATH environment variable so that Python can still find the package where ever it's installed.
The script runs on any Python version starting from 2.3. It should also run on Windows but that's not tested or supported. It's designed to be run on Unix style machines like: MacOSX, Linux, *BSD and Solaris. Since Python is installed on many Unix systems by default it should run flawlessly on almost any webserver.
If you have administrative rights on the system and you want the build process to be very fast, you can install Python's just-in-time compiler called Psyco. This speeds up execution time (mostly jsmin) by more then 10 times.
It can use various styles of (aggressive) minimization strategies. Like: jsmin, shrinksafe,
a packer (packing is compression, and for production it's much better to use gzip then packers!!!!) and very soon yui-compressor support.
If you have issues, find bugs, feature requests, please use the issue tracker and post in this thread.
ChangeLog
0.1: first public version (April 6, 2007)
0.2: added options and jsmin, fallback on elementtree (April 14, 2007)
0.3: reduced size by running rhino compressor on source files
0.4: intermediated release, fixes to much to list here
0.5: added options again, more error messages
0.6: added jspacker
0.7: fix for python2.3
0.7.1: added psyco support (greatly speedsup jsmin)
0.8: added yui-compressor (for javascript, css will follow soon)
0.9: fixed import of elementtree for python2.5 (thanks aconran!)