1. 03 Jan, 2006 2 commits
  2. 30 Dec, 2005 2 commits
    • PJ Eby's avatar
      Allow most commands to work with an existing .egg-info directory w/a '-' · def626a4
      PJ Eby authored
      in it, but warn about it and refuse to run "develop" until the existing
      directory is renamed.  This should allow older source distributions and
      checkouts to keep working with 0.6a9.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041857
      def626a4
    • PJ Eby's avatar
      Fix unescaped '-' in .egg-info directory names. Note that this means · 839a5f31
      PJ Eby authored
      you must rename any existing .egg-info directory inside a project that
      has a '-' in it!
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041856
      839a5f31
  3. 26 Dec, 2005 1 commit
  4. 20 Dec, 2005 3 commits
    • PJ Eby's avatar
      Fix typo. :( · f3bed845
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041780
      f3bed845
    • PJ Eby's avatar
      Fix "legacy mode" trying to install scripts when there are none. · d88c2b8c
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041777
      d88c2b8c
    • PJ Eby's avatar
      Changes so that upgrading an existing setuptools to a development · f85098d6
      PJ Eby authored
      version doesn't lose its entry points by using the already-installed
      setuptools as a basis for generating them.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041776
      f85098d6
  5. 18 Dec, 2005 1 commit
  6. 16 Dec, 2005 4 commits
  7. 15 Dec, 2005 4 commits
  8. 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
  9. 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
  10. 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
  11. 26 Nov, 2005 1 commit
  12. 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
  13. 18 Nov, 2005 8 commits
    • PJ Eby's avatar
      Added warning for namespace packages with missing ``declare_namespace()``, · e218cf0c
      PJ Eby authored
      updated docs for new policy/implementation, and explain the reasons
      for the change and what to do about it.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041479
      e218cf0c
    • PJ Eby's avatar
      Fixed ``.pth`` file processing picking up nested eggs (i.e. ones inside · 82f063f0
      PJ Eby authored
      "baskets") when they weren't explicitly listed in the ``.pth`` file.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041477
      82f063f0
    • PJ Eby's avatar
      Add tutorial section on choosing project version numbers that · b73cc53b
      PJ Eby authored
      will work well with automated tools based on pkg_resources.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041476
      b73cc53b
    • PJ Eby's avatar
      Fix .svn exclude pattern for non-Windows platforms. · 94c96c8c
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041475
      94c96c8c
    • PJ Eby's avatar
      Fixed ``--tag-svn-revision`` not working when run from a source · fdf5cd17
      PJ Eby authored
      distribution.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041474
      fdf5cd17
    • PJ Eby's avatar
      Added the ``include_package_data`` keyword to ``setup()``, allowing you to · 4cd66c41
      PJ Eby authored
      automatically include any package data listed in revision control or
      ``MANIFEST.in``.  Now projects can manage their data files and source
      manifests without having to maintain two ways to express the same file
      list.  Yay!
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041473
      4cd66c41
    • PJ Eby's avatar
      The ``sdist`` command no longer uses the traditional ``MANIFEST`` file to · f3694a03
      PJ Eby authored
      create source distributions.  ``MANIFEST.in`` is still read and processed,
      as are the standard defaults and pruning.  But the manifest is built inside
      the project's ``.egg-info`` directory as ``SOURCES.txt``, and it is rebuilt
      every time the ``egg_info`` command is run.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041472
      f3694a03
    • PJ Eby's avatar
      Build a SOURCES.txt manifest file in .egg-info, that can then be included in · 873ebe91
      PJ Eby authored
      sdist distributions to support building an sdist from an sdist (which the
      bdist_rpm command requires).  This will also be the basis for enhanced
      package data support, that will allow optionally using the manifest to
      identify package data files instead of having separate manual identification
      of the data files.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041471
      873ebe91