[svn] / zc.buildout / trunk / src / zc / buildout / easy_install.py Repository:
ViewVC logotype

Log of /zc.buildout/trunk/src/zc/buildout/easy_install.py

Parent Directory Parent Directory


Sticky Revision:
(Current path doesn't exist after revision 127518)

Revision 72218 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 24 23:11:02 2007 UTC (7 years, 7 months ago) by jim
File length: 22812 byte(s)
Diff to previous 71398
Fixed bug:
Explicitly specifying a Python executable failed if the output of
running Python with the -V option included a 2-digit (rather than a
3-digit) version number.

Revision 71398 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 4 21:19:40 2006 UTC (7 years, 8 months ago) by jim
File length: 22809 byte(s)
Diff to previous 70907
Merged revisions 71277 to 71397 from dev branch:

Feature Changes
---------------

- Variable substitutions now reflect option data written by recipes.

- A part referenced by a part in a parts list is now added to the parts
  list before the referencing part.  This means that you can omit
  parts from the parts list if they are referenced by other parts.

- Added a develop function to the easy_install module to aid in
  creating develop eggs with custom build_ext options.

- The build and develop functions in the easy_install module now
  return the path of the egg or egg link created.

- Removed the limitation that parts named in the install command can
  only name configured parts.

- Removed support ConfigParser-style variable substitutions
  (e.g. %(foo)s). Only the string-template style of variable
  (e.g. ${section:option}) substitutions will be supported.
  Supporting both violates "there's only one way to do it".

- Deprecated the buildout-section extendedBy option.

Revision 70907 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 23:56:42 2006 UTC (7 years, 10 months ago) by jim
File length: 19834 byte(s)
Diff to previous 70903
Bugs Fixed
----------

- We treat setuptools as a dependency of any distribution that
  (declares that it) uses namespace packages, whether it declares
  setuptools as a dependency or not.  This wasn't working for eggs
  intalled by virtue of being dependencies.

Revision 70903 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 23:30:24 2006 UTC (7 years, 10 months ago) by jim
File length: 19621 byte(s)
Diff to previous 70900
Added the ability to specify initialization code when creating scripts.

Revision 70900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 21:04:19 2006 UTC (7 years, 10 months ago) by jim
File length: 19372 byte(s)
Diff to previous 70726
Bugs Fixed:

`67737 <https://launchpad.net/products/zc.buildout/+bug/67737>`_
     Verbose and quite output options caused errors when the 
     develop buildout option was used to create develop eggs.

`67871 <https://launchpad.net/products/zc.buildout/+bug/67871>`_
     Installation failed if the source was a (local) unzipped
     egg.

`67873 <https://launchpad.net/products/zc.buildout/+bug/67873>`_
     There was an error in producing an error message when part names
     passed to the install command weren't included in the
     configuration.

Revision 70726 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 16 21:08:29 2006 UTC (7 years, 10 months ago) by jim
File length: 19259 byte(s)
Diff to previous 70578
When installing zip-safe eggs from local directories, the eggs were
moved, rather than copied, removing them from the source directory.

Revision 70578 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 8 19:27:44 2006 UTC (7 years, 10 months ago) by jim
File length: 19255 byte(s)
Diff to previous 70497
- If a distribution defines namespace packages but fails to declare 
  setuptools as one of its dependencies, we now treat setuptools as an 
  implicit dependency.  We generate a warning if the distribution
  is a develop egg.

- Remove old develop egg links. This requires storing the old link
  paths in .installed.cfg.

Revision 70497 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 2 18:01:16 2006 UTC (7 years, 10 months ago) by jim
File length: 18302 byte(s)
Diff to previous 70461
Bugs Fixed
----------

Non-zip-safe eggs were not unzipped when they were installed.

Revision 70461 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 1 17:46:39 2006 UTC (7 years, 10 months ago) by jim
File length: 18304 byte(s)
Diff to previous 70237
Fixed a bug in building from source releases with alternate Python
versions.

Fixed a bug in installing by direct egg download.

Revision 70237 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 19 17:46:01 2006 UTC (7 years, 11 months ago) by jim
File length: 18152 byte(s)
Diff to previous 70184
Refactored tests to use a documented and, hopefully, sane, testing
API. This allowed the tests to be simplified somewhat.

Revision 70184 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 14 23:26:41 2006 UTC (7 years, 11 months ago) by jim
File length: 18024 byte(s)
Diff to previous 69996
Refactored to do more work in buildout and less work in easy_install.
This makes things go a little faster, makes errors a little easier to
handle, and allows extensions (like the sftp extension) to influence
more of the process.

Revision 69996 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Sep 6 12:25:39 2006 UTC (7 years, 11 months ago) by jukart
File length: 15999 byte(s)
Diff to previous 69991
Fixed typos

Revision 69991 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 5 22:55:55 2006 UTC (7 years, 11 months ago) by jim
File length: 15996 byte(s)
Diff to previous 69923
Added support for extra paths in generated scripts.

Added ability to supply entry points directly. This is useful for
packages that don't declare their entry points.

No longer generate "py-" scripts implicitly.  Added a new option,
interpreter, to request such scripts and specifu their names.

Revision 69923 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 1 23:54:27 2006 UTC (7 years, 11 months ago) by jim
File length: 15777 byte(s)
Diff to previous 69900
Minor output tweaks.

Revision 69900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 31 12:07:11 2006 UTC (7 years, 11 months ago) by jim
File length: 15774 byte(s)
Diff to previous 69864
Use setuptools PackageIndex objects to check for new versions without
invoking easy install.  This should make things go faster in practice.

Stop giving setuptools special treatment when downloading.
Unfortunately, this means tests take a lot longer to run and probably
that they can only be run when connected. :(
Maybe I should figure out a way to get stuptools to use a different
default index when running tests. :/

Revision 69864 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 29 17:11:15 2006 UTC (8 years ago) by jim
File length: 14251 byte(s)
Diff to previous 69806
Added an extra-paths option to specify extra paths to be inclided in
generated script paths.

Added an arguments option to specify source for arguments to be passed
to entry points.

Revision 69806 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 27 18:13:41 2006 UTC (8 years ago) by jim
File length: 14076 byte(s)
Diff to previous 69383
Added Windows support.

The sample buildout is now created using the bootstrapping mechanism
and so has a normal layout.

No longer read ~/.buildout/.default.cfg, when running tests.
(We do read a ~/.buildout/.default.cfg when testing that function, but
we manipulate HOME so that we control what is read.)

Revision 69383 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 9 20:42:27 2006 UTC (8 years ago) by jim
File length: 12817 byte(s)
Diff to previous 68885
Added support controlling how eggs with extensions are built.

Revision 68885 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 19:21:39 2006 UTC (8 years, 2 months ago) by jim
File length: 10147 byte(s)
Diff to previous 68860
Added slightly better error reporting when distros can't be found.

Revision 68860 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 21:22:34 2006 UTC (8 years, 2 months ago) by jim
File length: 10070 byte(s)
Diff to previous 68838
Improved the generated "py" scripts.  These let you start Python with
the path set to include a set of distributions and their
dependeoncies. Now, you can also pass a script and arguments.  This
gives me a handy way of invoking setup.py scripts that require
setuptools without having to install setuptools into my system
python. :)

Revision 68838 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 25 21:03:50 2006 UTC (8 years, 2 months ago) by jim
File length: 9836 byte(s)
Diff to previous 68763
Major refactoring.  The original motivation was to get the newest
distributions available. This required working around issues with
easy_install's --upgrade option:

- Upgrade is not recursive. Upgrading a distro doesn't update it's
  dependencies.

- Upgrade doesn't try very hard to avoid searching.  If we require a
  specific version of a distribution, and we already have that
  distribution, there's no point in looking for a newer one.

- easy_install has kind of odd rules for deciding when to look at an
  index.   Now that we use upgrade all the time, easy_install always
  wants to look at an index.

- We get warnings when connecting to index servers, like PyPI that 
  return text/plain not found messages.

We now have much greater control over how dependencies are
managed. We've essentially taken this over from easy_install.

Because we now always talk to an index server and because we want to
control anything we do in a test, many of the tests actually run their
own web servers.

Anyway:

- Now handle upgrades correctly, I think.

- The egg recipe can now install multiple distributions.

- We have the beginnings of offline mode.

- The internal architeture is much cleaner.

- We've merged the easy_install and egglinker modules, tossing
  some superfluois apis in the egglinker module.

Revision 68763 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 19 19:20:24 2006 UTC (8 years, 2 months ago) by jim
File length: 1357 byte(s)
Diff to previous 68615
Allow custom python interpreters (other than the one used to run the
buildout) to be used.

Revision 68615 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 13 14:54:25 2006 UTC (8 years, 2 months ago) by jim
File length: 1227 byte(s)
Diff to previous 68552
Refactored easy_install to use a subprocess.  This will be necessary
to be able to use external python interpreters.

Wrote a missing test.

Revision 68552 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 9 21:32:26 2006 UTC (8 years, 2 months ago) by jim
File length: 1635 byte(s)
Diff to previous 68517
Removed a workaround for a bug that was fixed in setuptools 0.6b3.

Revision 68517 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 7 22:45:45 2006 UTC (8 years, 2 months ago) by jim
File length: 1760 byte(s)
Diff to previous 68494
Work around an easy_install bug that should be fixed in b3.

Revision 68494 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Jun 5 11:25:19 2006 UTC (8 years, 2 months ago) by jim
File length: 1624 byte(s)
Checking in initial work.  Still need more tests and features.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

zope.org Infrastructure
ViewVC Help
Powered by ViewVC 1.0.3