1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

118 commits

Author SHA1 Message Date
Ben Darnell
c5e766ad9f 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 10:52:32 -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
0017f1b1cb use latest wheel from pypi when testing 2013-12-04 19:38:10 -08:00
Marcus Smith
861023bc0d uninstalling --user dists should leave global scripts alone 2013-11-29 17:08:43 -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
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
048c9763a8 Add failing test case for installing when there are symlinks to directories 2013-11-09 23:57:34 +00:00
Paul Moore
b9f36c0c21 Tests for script generation 2013-11-01 09:57:25 +00:00
Marcus Smith
1afdc665ae don't override distutils scripts location using pip's legacy logic 2013-08-31 15:28:44 -07:00
Marcus Smith
65007e3c65 when unpacking archives, don't preserve permissions except execution for regular files 2013-08-17 00:18:40 -07:00
Marcus Smith
d3cbb3f606 fix up the bundle support 2013-08-07 00:13:47 -07:00
Marcus Smith
3e8924a7ec setuptools upgrade tests 2013-07-27 00:58:56 -07:00
Daniel Holth
3ac1280cd2 wheel: test WHEEL "root_is_purelib" parser 2013-06-30 23:40:20 -04:00
y-p
42102e9dea unpack_file should use flatten=False for .whl files GH1011 2013-06-26 22:02:27 +03:00
Donald Stufft
74d0246bcd Test the different variations of allow_insecure and allow_external 2013-06-07 10:43:52 -04:00
Marcus Smith
60f8da5c41 4 more wheel tests 2013-06-06 19:11:43 -07:00
Steven Myint
f7bf72bc27 Fix spellings errors 2013-06-01 09:09:41 -07:00
Marcus Smith
2e2ce0f4e9 break up tests dir into data, unit tests, and functional tests 2013-05-29 13:41:12 -07:00