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

83 commits

Author SHA1 Message Date
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
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 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
Donald Stufft 073ae0d0b1 Switch to importing the vendored pkg_resources 2014-01-07 04:47:04 -05: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
Donald Stufft ff1bb66063 Add a comment 2013-11-19 08:23:15 -05:00
Donald Stufft 7b0ab3c6a5 Ignore leading and trailing whitespace 2013-11-19 08:22:04 -05: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
Donald Stufft 06da6aac9f Document what the ENSUREPIP_OPTIONS environment variable does 2013-11-07 12:28:10 -05:00