Differences between revisions 3 and 4
Revision 3 as of 2007-08-04 19:32:19
Size: 814
Editor: PhilipJenvey
Comment:
Revision 4 as of 2007-08-04 19:33:47
Size: 834
Editor: PhilipJenvey
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
  - The Jython zipimport machinery is different: ZipFileImporter only imports zips if they're SyspathArchives: currently .zips and .jars. How does CPython zipimport identify .eggs as .zips (for the ez_setup bootstrap process)   - The Jython zipimport machinery is different: ZipFileImporter only imports zips if they're SyspathArchives: currently .zips and .jars. How does CPython zipimport identify .eggs in sys.path as .zips? (needed for the ez_setup bootstrap process)

Setuptools requirements:

  • PEP 302: added in Jython 2.2

We don't have:

  • PEP 273 (the zipimport module)
    • - Jython's ZipFileImporter is somewhat different that the CPython zipimport module -- it's not a module, and it does not maintain its own _zip_importer_cache (which setuptools utilizes) apart from sys.path_importer_cache

      - The Jython zipimport machinery is different: ZipFileImporter only imports zips if they're SyspathArchives: currently .zips and .jars. How does CPython zipimport identify .eggs in sys.path as .zips? (needed for the ez_setup bootstrap process)

  • distutils
  • tempfile.mkstemp
  • os.open is used for a small hack having to do with usage of tempfile.mkstemp
  • imp.acquire/release_lock

SetuptoolsOnJython (last edited 2010-01-02 16:58:16 by AndrewKuchling)