1. 14 Dec, 2005 6 commits
    • PJ Eby's avatar
      Support full roundtrip translation of eggs to and from ``bdist_wininst`` · 1b77dd8e
      PJ Eby authored
      format.  Running ``bdist_wininst`` on a setuptools-based package wraps the
      egg in an .exe that will safely install it as an egg (i.e., with metadata
      and entry-point wrapper scripts), and ``easy_install`` can turn the .exe
      back into an ``.egg`` file or directory and install it as such.
      
      At this point, it should also be possible to "system package" any egg,
      complete with wrapper scripts, and at least bdist_wininst works now.
      More testing is needed for at least bdist_dumb and bdist_rpm.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041692
      1b77dd8e
    • PJ Eby's avatar
      Refactor script wrapper generation into a separate function so that it · b9ef2527
      PJ Eby authored
      can be used by the future install_scripts command to install entry point
      scripts in "legacy" mode.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041690
      b9ef2527
    • PJ Eby's avatar
      Basic roundtripping support between bdist_wininst and eggs. EasyInstall · 207ddcba
      PJ Eby authored
      will now recognize when a bdist_wininst .exe wraps a .egg-info style
      package, and reconstitute it correctly, maintaining the original zip
      safety flag, if applicable.  This still needs support for entrypoint
      scripts, though, as does the install_scripts command.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041678
      207ddcba
    • PJ Eby's avatar
      Oops. · 13e9b3d6
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041675
      13e9b3d6
    • PJ Eby's avatar
      Added a ``--single-version-externally-managed`` option to the ``install`` · 66d77b78
      PJ Eby authored
      command so that you can more easily wrap a "flat" egg in a system package.
      Enhanced ``bdist_rpm`` so that it installs single-version eggs that
      don't rely on a ``.pth`` file.  The ``--no-egg`` option has been removed,
      since all RPMs are now built in a more backwards-compatible format.
      
      Some work is now needed for easy_install to recognize bdist_wininst
      .exe's that wrap these new flat eggs, as currently the .egg-info will
      not be recognized.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041673
      66d77b78
    • PJ Eby's avatar
      Added an internal ``install_egg_info`` command to use as part of old-style · c7eeb627
      PJ Eby authored
      ``install`` operations, that installs an ``.egg-info`` directory with the
      package.  This is a preliminary step to implementing "install
      --single-version-externally-managed" for use with bdist_* commands and
      Debian.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041670
      c7eeb627
  2. 06 Dec, 2005 4 commits
    • PJ Eby's avatar
      Changed ``parse_version()`` to remove dashes before pre-release tags, so · bd28408f
      PJ Eby authored
      that ``0.2-rc1`` is considered an *older* version than ``0.2``, and is equal
      to ``0.2rc1``.  The idea that a dash *always* meant a post-release version
      was highly non-intuitive to setuptools users and Python developers, who
      seem to want to use ``-rc`` version numbers a lot.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041630
      bd28408f
    • PJ Eby's avatar
      Added an ``unpack_directory()`` driver to ``setuptools.archive_util``, so · 45885095
      PJ Eby authored
      that you can process a directory tree through a processing filter as if
      it were a zipfile or tarfile.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041617
      45885095
    • PJ Eby's avatar
      Remove unneeded code that slipped into last commit. · c8e2cdfc
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041616
      c8e2cdfc
    • PJ Eby's avatar
      Added support for ``.egg-info`` files or directories with version/platform · 6402ec9b
      PJ Eby authored
      information embedded in the filename, so that system packagers have the
      option of including ``PKG-INFO`` files to indicate the presence of a
      system-installed egg, without needing to use ``.egg`` directories, zipfiles,
      or ``.pth`` manipulation.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041615
      6402ec9b
  3. 01 Dec, 2005 2 commits
    • PJ Eby's avatar
      Made all commands that use ``easy_install`` respect its configuration · 969bfb31
      PJ Eby authored
      options, as this was causing some problems with ``setup.py install``
      ignoring global site-dirs settings.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041573
      969bfb31
    • PJ Eby's avatar
      Misc. doc enhancements · 3e8747f6
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041572
      3e8747f6
  4. 26 Nov, 2005 1 commit
  5. 19 Nov, 2005 2 commits
    • PJ Eby's avatar
      Added ``tests_require`` keyword to ``setup()``, so that e.g. packages · 016ae6c4
      PJ Eby authored
      requiring ``nose`` to run unit tests can make this dependency optional
      unless the ``test`` command is run.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041483
      016ae6c4
    • PJ Eby's avatar
      Kludges to make building packages with '-' in their version work with · 1c5aaf13
      PJ Eby authored
      bdist_rpm.  This still doesn't address the issue of building RPMs that
      don't effectively install as multi-version eggs, but at least now
      building RPMs for development eggs is possible.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041482
      1c5aaf13
  6. 18 Nov, 2005 10 commits
  7. 17 Nov, 2005 1 commit
  8. 16 Nov, 2005 2 commits
    • PJ Eby's avatar
      0.6a8 final. · ff0c5cde
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041459
      ff0c5cde
    • PJ Eby's avatar
      Update for SourceForge's changed mirror page formats · 1a44c5da
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041458
      1a44c5da
  9. 13 Nov, 2005 1 commit
  10. 09 Nov, 2005 4 commits
  11. 05 Nov, 2005 2 commits
    • PJ Eby's avatar
      Fix rmtree() brokenness with Python 2.4 by breaking down and copying · c66760cc
      PJ Eby authored
      shutil.rmtree from 2.4 directly into easy_install.py.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041402
      c66760cc
    • PJ Eby's avatar
      Fixed some problems with fresh checkouts of projects that don't include · f9aa7e9e
      PJ Eby authored
      ``.egg-info/PKG-INFO`` under revision control and put the project's source
      code directly in the project directory.  If such a package had any
      requirements that get processed before the ``egg_info`` command can be run,
      the setup scripts would fail with a "Missing 'Version:' header and/or
      PKG-INFO file" error, because the egg runtime interpreted the unbuilt
      metadata in a directory on ``sys.path`` (i.e. the current directory) as
      being a corrupted egg.  Setuptools now monkeypatches the distribution
      metadata cache to pretend that the egg has valid version information, until
      it has a chance to make it actually be so (via the ``egg_info`` command).
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041401
      f9aa7e9e
  12. 04 Nov, 2005 5 commits
    • PJ Eby's avatar
      Made ``egg_info --tag-svn-revision`` fall back to extracting the · 8312542d
      PJ Eby authored
      revision number from ``PKG-INFO`` in case it is being run on a
      source distribution of a snapshot taken from a Subversion-based
      project.  That is, if a project builds an sdist with
      --tag-svn-revision in setup.cfg, then the built sdist will
      create binaries with the same version number as the checkout
      that was used to create the sdist.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041396
      8312542d
    • PJ Eby's avatar
      Reduce the number of redundant host blocking warnings by not · 12022171
      PJ Eby authored
      retrying the same previously-blocked URLs.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041395
      12022171
    • PJ Eby's avatar
      Made ``develop`` command accept all the same options as ``easy_install``, · 0db70c29
      PJ Eby authored
      and use the ``easy_install`` command's configuration settings as defaults.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041394
      0db70c29
    • PJ Eby's avatar
      Workaround for broken DISTUTILS_DEBUG output. · d092afc4
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041393
      d092afc4
    • PJ Eby's avatar
      Document best practices for managing continuous releases with · 64dd3944
      PJ Eby authored
      Subversion, #egg links, --tag-svn-revision, etc., to reflect the
      community experience with the tools to date.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041392
      64dd3944