Robert Collins
08acb6670d
Issue #2140 : Build wheels automatically
...
Building wheels before installing elminates a cause of broken environments -
where install fails after we've already installed one or more packages.
If a package fails to wheel, we run setup.py install as normally.
2015-04-13 18:33:07 +12:00
Robert Collins
4926409340
Issue #2563 : Read cached wheels from ~/.cache/pip
...
This won't put wheels into that directory, but will read them if they
are there. --no-cache-dir will disable reading such wheels.
2015-04-13 18:33:07 +12:00
Robert Collins
fd33cd3ddf
Rationalise wheel_dir usage.
...
We we normalising it right before making it, after passing it
RequirementSet, which means RequirementSet also had to normalise it.
And then we passed it to WheelBuilder which as a result had to
normalise it too.
Instead, pass it as-is to RequirementSet, have that normalise it, and
then pull it back out in WheelBuilder.
2015-04-08 09:40:05 +12:00
Robert Collins
12e719db78
Create ensure_dir helper.
...
We had a very widely used pattern which can be factored out for a mild
saving in LOC, and a gain in clarity.
2015-04-07 08:55:52 -04:00
Xavier Fernandez
d40ec18656
wheel install: hide all warnings while compiling
2015-02-28 11:10:42 +01:00
Xavier Fernandez
c3a850ecc5
wheel installs: log compile issues as debug
2015-02-28 00:17:21 +01:00
Xavier Fernandez
b1d81fbd95
wheel installs: do not log empty lines
...
fixes #2461
2015-02-27 23:46:39 +01:00
Donald Stufft
0bc8aa5622
Style fixes for the latest flake8
2015-02-24 07:46:10 -05:00
Donald Stufft
9c99becbd9
Ensure that we preserve executable file permission bits
2014-12-22 16:53:16 -05:00
Donald Stufft
5b817f960b
--isolated should isolate from ~/.pydistutils.cfg as well
2014-12-11 11:51:06 -05:00
Marc Abramowitz
962d14d8f3
WheelBuilder.__init__ default args: () => None
2014-12-10 08:56:51 -08:00
Marc Abramowitz
3054cbc0f7
Eliminate some uses of mutable default args
...
See: GH-2163
2014-12-10 08:17:54 -08:00
Donald Stufft
0fa67d9ffc
Only copy the file and the atime and mtime when installing from Wheel
2014-11-20 11:17:42 -05:00
Xavier Fernandez
b713e96df2
cleanup: use "with open()" to open files
2014-10-18 20:41:18 +02:00
Matt Robenolt
334af19e7c
Better ignore syntaxerror stack traces in wheels
...
This already got stripped just fine for non-wheel installs, but for
wheels, it only stripped the lined where `SyntaxError` was present
leaving the rest of the stacktrace.
2014-10-01 00:12:07 -07:00
Donald Stufft
9b174aee79
Switch to using six.StringIO instead of pip.compat.StringIO
2014-09-11 15:25:23 -04:00
Donald Stufft
767d11e49c
Switch to using the stdlib logger instead of pip.log
2014-09-10 09:36:09 -04:00
Berker Peksag
2310c4c621
another try
2014-08-22 15:30:27 +03:00
Berker Peksag
eee2334c92
Silence byte compile errors when installation succeed.
...
Fixes #1873 .
2014-08-21 16:40:02 +03:00
Donald Stufft
53faeece34
Clean up some no longer needed compatability code
2014-07-03 12:20:03 -04:00
Donald Stufft
9b11ed231c
Merge pull request #1854 from Ivoz/compat-cleaning
...
Remove unnecessary imports, move some to six
2014-06-16 12:06:21 -04:00
INADA Naoki
4950c7685c
Fix flake8 error.
...
Github's online editor is bad...
2014-06-07 12:20:42 +09:00
INADA Naoki
c2b3e08270
Overwrite old scripts when installing from wheel.
...
Fixes #1800
2014-06-07 12:07:43 +09:00
Matthew Iversen
b7770c502a
Remove unnecessary imports, move some to six
2014-06-07 04:21:51 +10:00
Matthew Iversen
dcb0ee0702
Move backwardcompat package to compat module
2014-05-14 13:10:06 +10:00
Marcus Smith
12034176a1
build wheels for dependencies of editables
2014-05-03 10:12:57 -07:00
Alex Gaynor
b48b9ce53f
Resolve several typos in the codebase
2014-04-29 22:33:04 -07:00
Paul Moore
0047974b0f
Make pip wheel return failure if any wheels fail to build
2014-04-28 14:28:31 +01:00
Marcus Smith
ebe2465635
merge 1.5.X to empty_dirs_develop
2014-04-25 14:08:40 -07:00
Marcus Smith
79408cbc6f
use copy2, not move, to ensure dirs are not copied
2014-04-23 13:08:07 -07:00
Marcus Smith
b542c9906b
move directory creation below the file filtering
2014-04-22 16:09:04 -07:00
Marcus Smith
b274b85f96
don't install empty dirs during wheel installs
2014-04-21 23:07:25 -07:00
Donald Stufft
5a76a47d3b
Fix code to handle the latest flake8
2014-03-26 18:24:19 -04:00
Alex Gaynor
b8e9500567
Put a space around a comma for readability.
2014-03-03 22:44:28 -08:00
Donald Stufft
95035fc5c4
Turn on everything in flake8
...
flake8 ignores some errors by default, these ignored by defaults
change sometimes. This will make things stabler by selecting
everything.
2014-02-24 16:52:23 -05:00
Matthew Iversen
b26d91c880
Ensure wheel-Version is compatible with pip
2014-02-19 20:01:22 -05:00
Matthew Iversen
0bbfaf6f06
Expand docstring for check_compatibility
2014-02-19 18:44:44 +11:00
Matthew Iversen
5a6855dcf1
Fix test logic, tiny error / import cleanup
2014-02-19 10:31:12 +11:00
Matthew Iversen
e0818e1240
Remove commented line
2014-02-18 18:01:44 +11:00
Matthew Iversen
9f4f6738a5
Use find_on_path, extract compatibility check
2014-02-18 15:19:35 +11:00
Matthew Iversen
5f40562e0f
Small cleanup, use email.parser.Parser
2014-02-17 10:01:32 +11:00
Matthew Iversen
13f6c68f0c
Ensure wheel-Version is compatible with pip
2014-02-15 17:21:22 +11:00
Marcus Smith
51a93e0672
'pip wheel' should download wheels, when it finds them
...
Conflicts:
pip/commands/wheel.py
pip/download.py
pip/req/req_set.py
pip/wheel.py
2014-02-08 09:05:40 -08:00
Marcus Smith
e41bf0230e
'pip wheel' should download wheels, when it finds them
2014-02-01 11:41:55 -08:00
Donald Stufft
b72f44b20c
Run flake8 as part of the test suite
2014-01-27 14:40:32 -05:00
Donald Stufft
2743768b7b
Fix the style of the code base to better match pep8
2014-01-27 14:11:29 -05:00
Donald Stufft
e9a896a9a0
Merge branch 'master' into develop
...
Conflicts:
docs/installing.rst
pip/__init__.py
2014-01-20 22:48:44 -05:00
Ralf Schmitt
9815271737
raise InvalidWheelFilename if version is missing in wheel filename
...
Wheel('Cython-cp27-none-linux_x86_64.whl') did raise an AttributeError
instead of InvalidWheelFilename.
This has also been discussed an is similar to
https://github.com/pypa/pip/pull/1445
2014-01-16 00:18:03 +01:00
Marcus Smith
ea97076ce0
Merge pull request #1445 from schmir/fix-wheel-single-digit-version
...
make sure that wheel files with a single digit version do work
2014-01-15 14:22:39 -08:00
Marcus Smith
a7c522da97
fix references to req methods/classes after refactor
2014-01-12 10:05:11 -08:00