1. 22 May, 2005 3 commits
    • PJ Eby's avatar
      Added support for specifying options on requirements, so that a package's · 489117c3
      PJ Eby authored
      optional dependencies can be included when processing nested dependencies.
      Next up: tests for the resolve() algorithm.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041008
      489117c3
    • PJ Eby's avatar
      Distribution metadata parsing: distribution objects can now extract their · 1fb2b027
      PJ Eby authored
      version from PKG-INFO and their dependencies from depends.txt, including
      optional dependencies.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041007
      1fb2b027
    • PJ Eby's avatar
      Refine dependency resolution algorithm so it won't take exponential time, · 05d3b06a
      PJ Eby authored
      or bomb on cyclic dependencies.  (But it's still an untested sketch.)
      Added list of things that need to be implemented before dependency
      resolution can actually work.  Added tests for lower-level parts of the
      dependency resolution system, and a hook to support subclasses doing
      automatic download of needed dependencies.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041006
      05d3b06a
  2. 21 May, 2005 1 commit
  3. 03 Apr, 2005 4 commits
    • PJ Eby's avatar
      Added "AvailableDistributions" class that finds and indexes usable · 58217442
      PJ Eby authored
      distributions; this replaces the previous "iter_distributions()" API.
      Added basic platform support to Distribution and AvailableDistributions so
      that platform-independent distros as well as local platform-compatible
      distros are acceptable.  The actual platform scheme is currently delegated
      to distutils.util.get_platform(), but needs to be replaced with a better
      scheme of some kind, especially for OS X.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041004
      58217442
    • PJ Eby's avatar
      Remove setuptools_boot.py, as it can now be trivially replaced by including · ac8607b2
      PJ Eby authored
      a setuptools .egg file in your source distribution, and adding it to
      sys.path in your setup.py.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041003
      ac8607b2
    • PJ Eby's avatar
      Fix handling of -/_ so that they are canonicalized to '-' when doing name · 28db1979
      PJ Eby authored
      or version comparisons, but rendered as '_' in egg filenames.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041002
      28db1979
    • PJ Eby's avatar
      Add a "Distribution" object that wraps a sys.path entry with metadata, and · 7311c34a
      PJ Eby authored
      can extract its name/version/pythonversion/platform if built from a .egg
      filename.  Later, distributions will be able to add themselves to sys.path
      and request that their dependencies be added as well.  Also, added some
      real-life version test cases supplied by jemfinch.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041001
      7311c34a
  4. 02 Apr, 2005 2 commits
    • PJ Eby's avatar
      Add a simple version parser that combines the pre-release smarts of · 1a7cff66
      PJ Eby authored
      distutils' StrictVersion, with the flexibility of LooseVersion.  It also
      deals heuristically with common concepts like alpha/beta/candidate/rc
      and pre/preview, as well as '-' and 'pl' branching schemes.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041000
      1a7cff66
    • PJ Eby's avatar
      Rough draft of version requirement parser. Make bdist_egg look for a · 6d3753cc
      PJ Eby authored
      distname.egg-info directory instead of EGG-INFO.in; this will be used later
      to support development of egg-distributed packages that an application
      under development expects to 'require()'.  (Thanks to Fred Drake for
      pointing out this use case, and Bob Ippolito for helping me figure out how
      to support it, although the runtime support doesn't actually exist yet.)
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040999
      6d3753cc
  5. 01 Apr, 2005 1 commit
  6. 24 Mar, 2005 3 commits
  7. 23 Mar, 2005 1 commit
    • PJ Eby's avatar
      Add a working pkg_resources implementation that handles extraction and · ee8b1aa7
      PJ Eby authored
      basic support for non-egg resources.  Still a lot to do, but this version
      is capable of not only extracting and running C extensions, it can even
      find its own runtime (pkg_resources) if it's included in the egg.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040994
      ee8b1aa7
  8. 22 Mar, 2005 2 commits
  9. 21 Mar, 2005 3 commits
  10. 17 Jun, 2004 1 commit
    • Fred Drake's avatar
      remove blank line pollution · ecc9eaad
      Fred Drake authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040905
      ecc9eaad
  11. 15 Jun, 2004 1 commit
  12. 14 Jun, 2004 1 commit
  13. 05 Apr, 2004 3 commits
  14. 22 Mar, 2004 1 commit
    • PJ Eby's avatar
      Compute command line that should be passed to child setup scripts. · 2e83526e
      PJ Eby authored
      Warn user if unsupported options are supplied, and cancel unless
      'depends -i' (aka '--ignore-extra-args') was used.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040880
      2e83526e
  15. 20 Mar, 2004 1 commit
    • PJ Eby's avatar
      Flesh out 'depends' command to display dependencies' status, and halt if · 7ce55cab
      PJ Eby authored
      all requirements aren't met.  (Also, check planned install location for
      the dependencies, as well as checking sys.path.)  Also:
      
      * Allow 'Feature()' objects to include 'Require()' objects, so that
        dependencies can be optional
      
      * 'Require()' objects can set a homepage, whose URL will be displayed by
        the 'depends' command if the dependency needs to be installed.
      
      * Misc. fixes/refactoring of version validation to properly handle
        "unknown" versions, and to decouple version fetching from version
        checking.
      
      * Updated TODO to remove various completed items.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040876
      7ce55cab
  16. 19 Mar, 2004 1 commit
    • PJ Eby's avatar
      Initial checkin of setuptools 0.0.1. · 8423e1ed
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040869
      8423e1ed