1. 12 Jun, 2005 1 commit
  2. 07 Jun, 2005 1 commit
  3. 06 Jun, 2005 1 commit
  4. 05 Jun, 2005 7 commits
  5. 04 Jun, 2005 2 commits
  6. 31 May, 2005 2 commits
    • PJ Eby's avatar
      Release 0.3a3 · 70bf5aa6
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041033
      70bf5aa6
    • PJ Eby's avatar
      Ditch outdated TODO file, move docs to a new 'EasyInstall.txt' file. Fix · 894c3467
      PJ Eby authored
      installation report for .egg files/directories.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041032
      894c3467
  7. 30 May, 2005 5 commits
    • PJ Eby's avatar
      Add option to allow specifying a download/extract/build directory, which · 2de648f4
      PJ Eby authored
      will be kept after installation completes.  Added an "installation report"
      that tells you how to use 'require()' to activate a particular package
      version.  Installer.install_eggs() now returns a list of Distribution
      objects for the eggs it found and installed, so that the command-line tool
      can print an installation report for each one.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041031
      2de648f4
    • PJ Eby's avatar
      Ensure that the distribution name written to PKG-INFO is the same as the · a0453161
      PJ Eby authored
      name you'll use in 'require()' operations for that distribution.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041030
      a0453161
    • PJ Eby's avatar
      Add setup script "sandboxing" -- abort a setup script if it tries to write · 0017e334
      PJ Eby authored
      to the filesystem outside of the installer's temporary directory.  This is
      accomplished by temporarily replacing 'os.*' functions and the 'open'
      builtin with path-validation wrappers.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041029
      0017e334
    • PJ Eby's avatar
      Reorganize bdist_egg's handling of 'install_data' to better deal with the · c3e492cc
      PJ Eby authored
      various kludges legacy packages are using to install data in their package
      directories.  Some use absolute paths in 'distribution.data_files', while
      others create various subclasses of 'install_data', each with their own
      way of finding out what directory to use!  So 'bdist_egg' now does all its
      'install_lib' activity before 'install_data', and pokes the desired build
      directory into a wide variety of places, so that all of the known kludges
      so far will work correctly.  It also checks for absolute paths in
      'data_files' (carefully working around other packages' 'data_files'
      kludges!) and converts them back to relative ones, if they are subpaths of
      site-packages.
      
      Clearly, we need to get the word out about 'package_files' in Python 2.4
      and above, and suggest using 'setuptools' for Python 2.3.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041028
      c3e492cc
    • PJ Eby's avatar
      Add SourceForge download support, graciously contributed by Ian Bicking. · 3dbc1ee1
      PJ Eby authored
      Also, move some more imports to the top.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041027
      3dbc1ee1
  8. 29 May, 2005 10 commits
  9. 28 May, 2005 1 commit
    • PJ Eby's avatar
      Add experimental 'install_data' support to 'bdist_egg'. The most common · e15ee4d4
      PJ Eby authored
      distutils custom command hack in the field is to make 'install_data'
      put data in with the target packages by changing the --install-data to
      match --install-lib, so this should let bdist_egg work with more packages
      "out of the box".
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041016
      e15ee4d4
  10. 25 May, 2005 3 commits
    • PJ Eby's avatar
      Fix some typos and a missing import · 02786fee
      PJ Eby authored
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041015
      02786fee
    • PJ Eby's avatar
      Implement draft support for namespace packages, both declaring them · 30a898c6
      PJ Eby authored
      initially and fixing them up when new eggs are added to sys.path.  At the
      moment, all namespace packages are fixed up whenever any new egg is added
      to sys.path, but this might not scale well if there are lots of eggs and
      lots of namespace packages.  Perhaps we should limit namespace fixups to
      namespace packages explicitly declared in the egg?
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041014
      30a898c6
    • PJ Eby's avatar
      Support registering distribution finders for arbitrary PEP 302 importer · e3437307
      PJ Eby authored
      types, so that the directory scanner isn't a hardcoded case.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041013
      e3437307
  11. 24 May, 2005 1 commit
    • PJ Eby's avatar
      Implement a draft version of 'find_distributions()' with hardcoded support · 990433f4
      PJ Eby authored
      for packed and unpacked .egg files and .egg-info dirs.  This will need to
      be refactored later to support registering adapters for arbitrary PEP 302
      importers, so that it can deal with non-filesystem sys.path entries.
      
      In the meantime, however, this means that 'require()' now works and that
      intrepid souls may now witness the power of this fully operational battle
      station...
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041012
      990433f4
  12. 23 May, 2005 3 commits
    • PJ Eby's avatar
      Make AvailableDistributions check distributions for Python version · 32b676b2
      PJ Eby authored
      compatibility as well as platform compatibility.  Rename get_distro_source
      to 'find_distributions', and get rid of intermediate distro-source objects.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041011
      32b676b2
    • PJ Eby's avatar
      Add a rough draft of Distribution.install_on(), to let others experiment · c710ada1
      PJ Eby authored
      with 'require()' before the "official" version is complete.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041010
      c710ada1
    • PJ Eby's avatar
      Add tests for AvailableDistributions().resolve(). This effectively · 22370657
      PJ Eby authored
      completes the core dependency resolution engine; all we need now is a way
      to turn sys.path entries into "distribution sources" that can list
      Distribution objects for inclusion in an instance of
      AvailableDistributions, and the 'require("SomePkg>=2.7")' API will be
      usable.
      
      --HG--
      branch : setuptools
      extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041009
      22370657
  13. 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