[4suite] 4Suite updates

Jeremy Kloth jeremy.kloth at 4suite.org
Sat Aug 12 12:43:39 MDT 2006


I guess the biggest news out of all of the changes is that now 4Suite is 
setuptools friendly.  So much so that it natively supports .eggs!

Lets see if I can get all these changes listed:
* new setup keywords available regardless of Python version:
  - requires_python, requires_external (from PEP 345)
  - requires, provides, obsoletes (from Python 2.5/PEP 314)
  - package_data (from Python 2.4)
  - download_url, classifiers (from Python 2.3/PEP 314)

* new setup commands:
  - bdist_egg
  - install_config
  - install_html
  - install_egg_info (from Python 2.5)

* changed setup commands:
  - install; supports the "standard" install options now as configuration vars 
are stored during install, not build.
  - build_docs; documentation *sources* are now always created (and stored in 
the source tree), rendering has been moved to install time.
  - build_py; now understands package_data setup keyword
  - build_scripts; Script arguments now use an "entry point"-like syntax for 
identifying the "main" function.

* py2exe and cx_Freeze (or any freezing application that uses zipimports) can 
now embed "data files" in their respective bundles,

* each "package" (XML, RDF, Server) is now built separately instead of a one 
monolithic package,

* 4Suite itself is now "zip-safe" as there are no references to __file__ or 
__path__; all resource access is available through the new Ft.Lib.ImportUtil 
module,

I think that is about it for the changes, although I'm sure some have been 
overlooked.
-- 
Jeremy Kloth
http://4suite.org/



More information about the 4suite mailing list