- 07 Aug, 2015 7 commits
-
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
On windows, two files are generated (a something.exe and a something-script.py). The if/else I used is used elsewhere in other tests, too.
-
Reinout van Rees authored
-
Reinout van Rees authored
Enable downloading behind a proxy by using urllib2
-
Stefano Mazzucco authored
As per @reinout comments in PR #253, let's make it clear that we're assigning request._urlopener to a patched URL opener.
-
- 06 Aug, 2015 4 commits
-
-
Reinout van Rees authored
Check the 'use-dependency-links' option earlier.
-
Maurits van Rees authored
This can give a small speed increase. Before this, for each dist we would first check if it had a dependency links option, which is almost always the case, but it is usually empty: the package *will* have a dependency_links.txt in its EGG-INFO, but there is only an empty line in it. When you have a lot of packages and several buildout parts that use them, the dependency links can be checked a lot of times. On an extended Plone buildout with 'use-dependency-links=false', where get_dist was called over 2500 times, the difference was 0.1 seconds, so not much. When I/O is slow, the difference could be more noticeable. Note that actually setting 'use-dependency-links' to false, already helps much more. For this buildout it shaved off 1.5 seconds. Note that the 0.1 seconds win is because we do not have to call 'os.exists' for all those files, and the 1.5 seconds win is because we do not have to actually read those files. Also, for completeness sake, note that in this buildout get_dist was called lots of times, but the list of dists that we checked for dependency links in this method was always just a list of one. So we could have simply switched the order of the three parts of the condition around with the same effect (and a smaller diff). Still, the way I did it now seems better. And I am probably explaining myself much much more than is needed. :-)
-
Jim Fulton authored
Fixed bootstrap help text: --buildout-version.
-
Maurits van Rees authored
-
- 10 Jul, 2015 1 commit
-
-
Stefano Mazzucco authored
Behind a proxy, `urllib` does not work with Python2 due to [Python issue 24599](https://bugs.python.org/issue24599). Instead of using `urllib`, let's implement `urlretrieve` with `urllib2`, which instead works and leave the Python3 implementation untouched (since that one works too). This fixes buildout issue #32. There's no need to change the `try: except:IOError` block where `urlretrieve` is used (line 195 in download.py) since the exceptions raised by `urllib2` are subclasses of `IOError` and will then be caught.
-
- 01 Jul, 2015 21 commits
-
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
Better, simpler fix than #250
-
Reinout van Rees authored
Bootstrap fixes, including develop-eggs removal
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
Buildout no longer breaks on packages with non-ascii filenames in them.
-
Reinout van Rees authored
-
Reinout van Rees authored
Slightly improved version of lelit's #172
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
This means the eggs/ cache dir creation also moved to the start of buildout instead of happening somewhere deep in the installation mechanism. I'll need to adjust the test output for this.
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
-
- 30 Jun, 2015 7 commits
-
-
Reinout van Rees authored
Avoid prefixing buildout dir to 'special' rpath elements.
-
Reinout van Rees authored
Noted the change in buildout's changelog, too, as that's much more prominent and as it fixes a buildout bug.
-
Reinout van Rees authored
-
Reinout van Rees authored
-
Reinout van Rees authored
Replaces #204, fixes #30. A date leads to less confusion than a version number separate from buildout's own version number. Similarly, tracking buildout's version number leads to bootstraps with a new version number but without changes or to bootstraps with version number from an already-older buildout. So: a date is best.
-
Reinout van Rees authored
I don't think many people use this option as it isn't documented. It used to be handy around the time when we had lots of breakage. Nowadays it isn't needed. So... I'm moving it out of the way to make room for --version as a proper version-returning option.
-
Reinout van Rees authored
This is an urelated change from mgedmin's #204 pull request. Prefixing is good as it might help figuring out what keeps filling up a temp dir in case there's a problem.
-