1. 14 Jan, 2006 2 commits
    • PJ Eby's avatar
      Fix broken import · 7fe043f8
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042039
      7fe043f8
    • PJ Eby's avatar
      Don't keep the stub .py file around, just the .pyc/.pyo. Don't write · 06af888d
      PJ Eby authored
      a stub to the source tree if it would overwrite an existing .py file.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042038
      06af888d
  2. 13 Jan, 2006 6 commits
  3. 10 Jan, 2006 2 commits
    • PJ Eby's avatar
      EasyInstall can now download bare ``.py`` files and wrap them in an egg, · abed75c8
      PJ Eby authored
      as long as you include an ``#egg=name-version`` suffix on the URL, or if
      the ``.py`` file is listed as the "Download URL" on the project's PyPI
      page.  This allows third parties to "package" trivial Python modules
      just by linking to them (e.g. from within their own PyPI page or
      download links page).
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041995
      abed75c8
    • PJ Eby's avatar
      ``safe_name()`` now allows dots in project names, and there is a new · 51d68aa5
      PJ Eby authored
      ``to_filename()`` function that escapes project names and versions for
      safe use in constructing egg filenames from a Distribution object's
      metadata.
      
      Note that allowing dots may now cause problems for projects with '.' in
      the name that were previously installed, since such projects had to be
      spelled with a '-' before.  The '-' name will no longer match the '.'
      project, and there is no real room for backward compatibility here.  :(
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041994
      51d68aa5
  4. 07 Jan, 2006 1 commit
    • PJ Eby's avatar
      PyPI searches now use the exact spelling of requirements specified on · f95da2a3
      PJ Eby authored
      the command line or in a project's ``install_requires``.  Previously, a
      normalized form of the name was used, which could lead to unnecessary
      full-index searches when a project's name had an underscore (``_``)
      in it.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041942
      f95da2a3
  5. 06 Jan, 2006 1 commit
  6. 05 Jan, 2006 3 commits
    • PJ Eby's avatar
      Remove debug print left in by mistake. · 59e6023b
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041928
      59e6023b
    • PJ Eby's avatar
      First draft of shared library build support. See tests/shlib_test · bda5b372
      PJ Eby authored
      for a trivial example.  This has only been tested on Windows with
      a MinGW compiler, and the Mac OS support isn't finished.  Testing
      w/other platforms+compilers would be helpful.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041927
      bda5b372
    • PJ Eby's avatar
      Bump version number to start the 0.6a10dev cycle. · b28da64e
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041914
      b28da64e
  7. 04 Jan, 2006 1 commit
    • PJ Eby's avatar
      0.6a9 release · 4ea43a4b
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041911
      4ea43a4b
  8. 03 Jan, 2006 2 commits
  9. 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
  10. 26 Dec, 2005 1 commit
  11. 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
  12. 18 Dec, 2005 1 commit
  13. 16 Dec, 2005 4 commits
  14. 15 Dec, 2005 4 commits
  15. 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
  16. 06 Dec, 2005 1 commit
    • 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