Differences between revisions 12 and 13
Revision 12 as of 2009-10-22 17:47:46
Size: 1046
Editor: xdsl-413ae96c1a89a215abcb
Comment:
Revision 13 as of 2009-10-22 19:14:20
Size: 2436
Editor: c-67-162-100-231
Comment: added notes on pep 376 install
Deletions are marked like this. Additions are marked like this.
Line 29: Line 29:

 * PEP 376 compatible installs
  * Observations
   * Current setuptools egg-info metadata is written in a separate pre-install in-place step, which can be run independently (python setup.py egg-info). PEP 376 metadata (RECORD, INSTALLER and REQUESTED) can only be generated at install time, not in a separate step (RECORD needs actual installed paths, and REQUESTED and INSTALLED are determined by who does the install and why).
   * RECORD generation is similar to distutils' existing --record option, but that is implemented in a non-extendable way (buried in the midst of run() method)
   * PEP 376 specifies APIs as they are to appear in distutils, not in a third-party package
  * Decided that a proof-of-concept implementation of PEP 376 installs would be cleaner and clearer if implemented directly in distutils (in a standalone branch for now), rather than layering it into distribute 0.7 on top of current distutils. Ideally this distutils branch could be installed for testing just like the distutils nightly builds at http://nightly.ziade.org on all recent Python versions.
  * Converted distutils into standalone hg repo at http://bitbucket.org/carljm/python-distutils/
  * Currently working on testing strategy.
   * Can distutils tests be made to run apart from the full Python build tree?
   * First step will be to modify/add tests to specify PEP 376 behavior.

Tasks for the sprint

  • A new "generate manifest" build command that will generate the MANIFEST file. and be pluggable. target: replace the Distutils builtin MANIFEST.in system (that will be just a plugin) - Yannick Gringas
  • cleanup, test and try out "distribute.resources": ronny, iElectric
  • buildbot, test coverage, QA; lead: ssteinerX
  • reimplement the develop command, lead: agronholm
  • reimplement python setup.py install -- determine strategy wrt pip, lead: jezdez + tarek, carljm
  • workon PEP 376 : tarek, carljm (lead)

Sprint results

  • develop command:
    • Created a skeleton command for develop
    • Waiting for work to complete on the install and build_egg_info commands before work can continue here.
  • build_egg_info command:
    • Rewrote this command using setuptools code as a model
    • Removed all SVN support code
    • Removed obsolete egg-info writers
    • Waiting on the manifest generation feature to finish this one
    • Will implement PEP 376 egg-info writers when possible
  • PEP 376 compatible installs
    • Observations
      • Current setuptools egg-info metadata is written in a separate pre-install in-place step, which can be run independently (python setup.py egg-info). PEP 376 metadata (RECORD, INSTALLER and REQUESTED) can only be generated at install time, not in a separate step (RECORD needs actual installed paths, and REQUESTED and INSTALLED are determined by who does the install and why).
      • RECORD generation is similar to distutils' existing --record option, but that is implemented in a non-extendable way (buried in the midst of run() method)
      • PEP 376 specifies APIs as they are to appear in distutils, not in a third-party package
    • Decided that a proof-of-concept implementation of PEP 376 installs would be cleaner and clearer if implemented directly in distutils (in a standalone branch for now), rather than layering it into distribute 0.7 on top of current distutils. Ideally this distutils branch could be installed for testing just like the distutils nightly builds at http://nightly.ziade.org on all recent Python versions.

    • Converted distutils into standalone hg repo at http://bitbucket.org/carljm/python-distutils/

    • Currently working on testing strategy.
      • Can distutils tests be made to run apart from the full Python build tree?
      • First step will be to modify/add tests to specify PEP 376 behavior.

Distutils/DistributeSprint (last edited 2009-10-22 19:52:12 by c-67-162-100-231)

Unable to edit the page? See the FrontPage for instructions.