Marcus Smith
b274b85f96
don't install empty dirs during wheel installs
2014-04-21 23:07:25 -07:00
Matthew Iversen
b26d91c880
Ensure wheel-Version is compatible with pip
2014-02-19 20:01:22 -05:00
Marcus Smith
85d68bbf97
fixes for downloading wheels (Issue #1112 )
...
Conflicts:
pip/req/req_set.py
2014-02-08 09:17:13 -08:00
Marcus Smith
a25b3d15c2
when file urls have hash fragments, check it
2014-02-08 09:06:54 -08: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
Donald Stufft
bd7dae9ed3
Properly parse comments from the end of a line
2014-01-22 21:50:57 -05:00
Marcus Smith
a53c1ed09b
use --no-use-wheel in the bundle functional tests
2014-01-21 10:11:45 -08:00
Marcus Smith
ac45fcb570
additional wheel filename tests
2014-01-15 20:42:14 -08:00
Ralf Schmitt
70c42ad26e
fix typo in test name
2014-01-16 00:21:04 +01: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
Donald Stufft
57acb26498
If --allow-unverified is used assume it also means --allow-external
2014-01-10 10:35:55 -05:00
Ralf Schmitt
2ca9ba6521
make sure that wheel files with a single digit version do work
...
this is a rather serious bug, since it makes 'pip wheel ...' fail with
the following error if the wheelhouse contains such a wheel:
,----
| ...
| File "/home/ralf/.ve/dev/local/lib/python2.7/site-packages/pip/wheel.py", line 420, in __init__
| self.version = wheel_info.group('ver').replace('_', '-')
| AttributeError: 'NoneType' object has no attribute 'replace'
`----
2014-01-09 16:15:38 +01:00
Donald Stufft
aa6136014f
Use the raw stream to prevent decoding the response
2014-01-07 11:57:25 -05:00
Donald Stufft
eeea3b73aa
Work around python 2.6 not having `python -m
`
2014-01-07 09:03:43 -05:00
Donald Stufft
f934b77d61
Have a nice error when setuptools is not available
2014-01-07 08:36:04 -05:00
Donald Stufft
cb7af82f20
Remove the setuptools version check
...
With the vendoring of pkg_resources we no longer need to worry
about the version of the installed setuptools.
2014-01-07 08:11:28 -05:00
Stefan Scherfke
eda45bfcf7
Fix test to run on Python 2.6.
2013-12-20 12:49:53 -05:00
Stefan Scherfke
b878de0fe1
Try utf-8, the system’s default encoding, and latin1 when reading egg_info-files to avoid UnicodeDecodeErrors at the installation of a package.
2013-12-20 12:49:52 -05:00
Ben Darnell
d84b4d2f46
Respect explicit encoding declarations in setup.py files.
...
In Python 2, the exec statement handles encoding for us, but in
Python 3 the encoding must be specified when opening the file
(if it's not specified it uses the system locale encoding, so
previously this would work only if your locale environment variables
specified the same encoding as the setup.py file).
On Python 3.2+ the tokenize.open function is available to interpret
the encoding declaration; fixing this for python 3.0 and 3.1 is more
difficult.
2013-12-20 01:29:20 -05:00
Marcus Smith
ea09ad5266
disable intermittent travis/pypy error, Issue #1379
2013-12-13 23:57:18 -08:00
Marcus Smith
c2c1eaddc7
- have the basic wheel install test, use a basic wheel
...
- have a separate test for a wheel with headers
- skip the header test on pypy for now due to virtualenv bug
2013-12-08 14:05:08 -08:00
Marcus Smith
0017f1b1cb
use latest wheel from pypi when testing
2013-12-04 19:38:10 -08:00
Marcus Smith
b42dcc6973
move --user uninstall tests to dedicated module
2013-11-29 17:15:50 -08:00
Marcus Smith
861023bc0d
uninstalling --user dists should leave global scripts alone
2013-11-29 17:08:43 -08:00
Marcus Smith
da6707729a
Merge pull request #1352 from qwcode/fix_ignore_installed
...
fix --ignore-installed (Issue #1097 )
2013-11-29 13:11:30 -08:00
Marcus Smith
e6348703fd
fix --ignore-installed (Issue #1097 )
2013-11-29 12:49:14 -08:00
Marcus Smith
1f5343ec31
skip symlink tests when not hasattr(os, 'symlink')
2013-11-24 15:50:11 -08:00
Marcus Smith
1d1aaa9058
fix for certain platforms/versions not having os.O_NOFOLLOW
2013-11-24 15:26:22 -08:00
Donald Stufft
7ec49dc2fb
Enable --[no-]compile which will compile or not compile pyc files
...
* Enables compilation for Wheel files
* Adds an easy command line for distutils/setuptools compilation
options
2013-11-21 23:19:15 -05:00
Marcus Smith
56d3a48de1
Merge pull request #1330 from qwcode/path_to_url
...
a single `path_to_url` function with tests
2013-11-20 16:09:57 -08:00
Marcus Smith
ade1bcf987
backwardcompat fixes for py3
2013-11-20 15:36:09 -08:00
Marcus Smith
40e731045d
allow stderr output from git clone for these 2 tests
2013-11-20 13:57:09 -08:00
Donald Stufft
c9bad1efa3
Merge pull request #1307 from dstufft/fix-entrypoints-parsing
...
Ignore leading and trailing whitespace
2013-11-19 07:06:03 -08:00
Donald Stufft
68eb2c4a1b
Merge pull request #1311 from mwilliamson/py3-symlinks
...
Fix: "pip install ." fails on Python 3.3 (with symlinks in local directory)
2013-11-19 05:45:36 -08:00
Donald Stufft
52c92de482
Test the entry points parsing
2013-11-19 08:32:58 -05:00
Marcus Smith
73b8692d86
a single path_to_url
function with tests
2013-11-18 22:12:41 -08:00
Marcus Smith
3dc40cad46
- if installing directly from a wheel, fail if it has an invalid name or is unsupported
...
- when walking links, skip invalid wheel filenames, don't crash
2013-11-14 16:35:24 -08:00
Michael Williamson
99a4f6f4e1
Add symlinks=True to copytree invocation so that tests pass in Python 3
2013-11-10 00:05:13 +00:00
Michael Williamson
048c9763a8
Add failing test case for installing when there are symlinks to directories
2013-11-09 23:57:34 +00:00
Donald Stufft
505333e996
Fix the tests
2013-11-07 16:39:44 -05:00
Donald Stufft
597184ee11
Revert "REmove problematic tests that test dead simple functionality"
...
This reverts commit 0f4477000c
.
2013-11-07 16:37:58 -05:00
Donald Stufft
0f4477000c
REmove problematic tests that test dead simple functionality
2013-11-07 15:44:09 -05:00
Donald Stufft
b1bc406743
Setuptools 0.6 needs --no-use-wheel
2013-11-07 15:43:41 -05:00
Marcus Smith
ebb52ee12c
use "INSTALLED_VERSION" (not "InfLink") as the name for the object that represents the "link" for the installed version of a requirement
2013-11-06 09:35:57 -08:00
Marcus Smith
351e1b8220
Merge pull request #1297 from qwcode/parse_distutils_config
...
`pip.locations.distutils_scheme` should read distutils config files
2013-11-05 09:59:36 -08:00
Marcus Smith
ab21c1de32
pip.locations.distutils_scheme
should read distutils config files
2013-11-04 23:40:26 -08:00
Donald Stufft
6dca500f69
Set the executable bit on files generated by distlib's ScriptMaker
2013-11-02 12:46:18 -04:00
Paul Moore
a7949308df
Added comments and reqordings based on code review
2013-11-01 17:28:35 +00:00
Paul Moore
b9f36c0c21
Tests for script generation
2013-11-01 09:57:25 +00:00