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

923 commits

Author SHA1 Message Date
Donald Stufft cc2a44e995 Normalize names in a URL
PyPI and Bandersnatch now normalize the project name in their
URLs. This change matches that and will reduce the number of
redirects we hit on PyPI and will reduce the need to hit /simple/
on a Bandersnatch mirror.
2014-09-18 07:11:31 -04:00
Buck Golemon d25e88a0dd removed tag_svn_revision from setup.cfg
py.test tests/functional/test_install_user.py::Tests_UserSite::test_install_curdir_usersite
2014-09-17 17:13:18 -07:00
Donald Stufft 6b3be72991 Switch from using cmp to using sorted() with a key func 2014-09-11 19:22:52 -04:00
Donald Stufft ec91d8e421 Move from pip.compat.* to six.moves.* for urllib related stuff 2014-09-11 18:40:45 -04:00
Paul Moore f6b0665553 Merge pull request #2007 from jonparrott/develop
Fixing issues with install's --target option.
2014-09-11 14:04:26 +01:00
Donald Stufft f63d1e3abb Implement platform specific user config locations 2014-09-10 11:43:34 -04:00
Donald Stufft 31b5cb523a Merge pull request #2020 from dstufft/minor-test-layout-change
Properly split up the test cases for appdirs
2014-09-10 11:20:36 -04:00
Donald Stufft 2dd235e4eb Properly split up the test cases for appdirs 2014-09-10 10:42:23 -04:00
Donald Stufft 8e0ec8d293 Move appdirs from pip.appdirs to pip.utils.appdirs 2014-09-10 10:40:22 -04:00
Donald Stufft 767d11e49c Switch to using the stdlib logger instead of pip.log 2014-09-10 09:36:09 -04:00
Donald Stufft 800af158cd Merge pull request #2012 from remram44/unicode-log_v3
Fix attempt for unicode bug #1137 (v3)
2014-09-10 07:31:59 -04:00
Remi Rampin 48584f0de7 Adds test for native_str() 2014-09-01 21:47:04 -04:00
Remi Rampin 00c69bd704 Acceptance test for unicode log fix 2014-09-01 21:32:14 -04:00
Jon Wayne Parrott ecb3049b8d Covering case of single-module packages.
Behavior is now to overwrite files or folders if --upgrade is specified, however, links will not be overwritten.
2014-08-31 12:11:27 -04:00
Jon Wayne Parrott 12ff251d2d Fixing pep8 errors 2014-08-30 21:25:03 -04:00
Jon Wayne Parrott acf8634e8f Fixing issues with install's --target option.
1. Check for the existence of a directory before copying from temporary directory to final target. If it exists, warn the user.
 2. If the user specifies the --upgrade option and the directory exists, delete it and continue with installation.
 3. Adding tests for above cases.

This resolves #1489, #1710 completely and parts of #1833.
2014-08-30 20:21:08 -04:00
Donald Stufft 4b6b7c77b6 Merge pull request #2005 from dstufft/pr-1959
Continue PR #1959
2014-08-30 19:13:31 -04:00
Donald Stufft e4d1228e47 Test that parse_requirements does not require a finder 2014-08-30 17:20:21 -04:00
Donald Stufft 80399a6c3f Fix to add a missed/new windows compat location 2014-08-30 14:53:56 -04:00
Donald Stufft 89fc318113 Merge pull request #1897 from paweljasinski/ironpython
detect windows when running under IronPython
2014-08-30 13:48:45 -04:00
Donald Stufft 09a74c6062 Merge pull request #1984 from berkerpeksag/fix-1873
Silence byte compile errors when installation succeed.
2014-08-26 18:36:48 -04:00
Richard Jones aedca3c842 Implement site-wide configuration settings
* add site_config_dirs() to appdirs to determine locations across OSes
* add system_config_files to locations.py
* add system_config_files to get_config_files() and re-order files entries to correct precedence
* document changes to configuration files in user guide

Closes #309
2014-08-22 14:26:41 +10:00
Berker Peksag eee2334c92 Silence byte compile errors when installation succeed.
Fixes #1873.
2014-08-21 16:40:02 +03:00
Pawel Jasinski 58c347ad25 fixed windows test 2014-08-12 03:04:55 +02:00
Richard Jones 704f658c63 don't complain about localhost when checking security of index links
based entirely off of Guy Rozendorn's work in PR #1718
2014-08-11 14:21:02 +10:00
Donald Stufft aaa4bfcdbc Merge pull request #1956 from qwcode/issue_1952
preserve the full vcs url when using `InstallRequirement.from_line`
2014-08-04 10:13:18 -04:00
Donald Stufft cbbbc9f6c7 Merge pull request #1926 from jschneier/develop
install -d works on vcs links fix #798 fix #1060
2014-08-04 09:58:16 -04:00
Marcus Smith 15427fda9a add missing vcs prefixes 2014-08-03 21:49:47 -07:00
Marcus Smith f2d5c340d1 pep8 fixes 2014-08-03 21:33:28 -07:00
Marcus Smith dafe76f6fe a functional test for non-editable vcs installs 2014-08-03 21:01:47 -07:00
Marcus Smith 4eb9e3297f InstallRequirement.url should preserve the initial value for from_line requirements 2014-08-03 21:01:12 -07:00
Donald Stufft 90688e82b1 Revert "Merge pull request #1519 from dstufft/remove-dependency-links"
This reverts commit da02f073da, reversing
changes made to 2ad8888901.

Conflicts:
	CHANGES.txt
	pip/commands/freeze.py
	pip/commands/list.py
	pip/commands/wheel.py
	pip/index.py
	pip/req/req_set.py
	pip/vcs/subversion.py
2014-08-01 16:50:08 -04:00
Josh Schneier 283df0e5a2 install -d works on vcs links fix #798 fix #1060 2014-07-17 01:53:14 -04:00
Donald Stufft d359d1a08b Merge pull request #1902 from tnotstar/develop
Proposed fix to #1180 (and maybe #932 & #1104)
2014-07-03 19:26:50 -04:00
Donald Stufft 53faeece34 Clean up some no longer needed compatability code 2014-07-03 12:20:03 -04:00
Donald Stufft bcead5206b Hide output when installing pip 2014-07-01 00:20:16 -04:00
Donald Stufft 68c0b472a7 Run the unit tests before the integration tests 2014-06-30 20:00:35 -04:00
Antonio Alvarado Hernandez 57f2d47b84 Proposed fix to #1180 (and maybe #932 & #1104)
This is a rebased final version of a proposed solution to fix
issues #932, #1104 & #1180. Following changes have been done:

* Implemented a new class `PipXmlrpcTransport` using a
  contained `PipSession` object.

* Modified the `pip/commands/search.py` to make use of the
  `PipXmlrpcTransport` class.

* Properly initialized options for testing `SearchCommand`:
  - Changed `options_mock` to an `options` object built from
    `parse_args`, to properly initialize default options.
2014-06-28 00:26:40 +02:00
Donald Stufft 6876d4b613 Merge pull request #1859 from nailor/support-no-use-wheel
req: Support --no-use-wheel flag in requirements.txt
2014-06-25 23:45:01 -04:00
MinRK c2e71e7ce6 query installed requirements for extras
fixes issue where egg_info('requires.txt') does not exist
for packages installed from wheels.
2014-06-25 22:45:28 -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
Donald Stufft e05a759b6e Fix #1101 - Properly handle a <base> without a href 2014-06-13 07:49:56 -04:00
Donald Stufft 868671a62c Merge pull request #1465 from minrk/osxarch
Support earlier OS X versions in wheels
2014-06-12 22:12:01 -04:00
Donald Stufft ee2cb9c926 Don't rely on appspot 2014-06-10 12:35:51 -04:00
Jyrki Pulliainen 3377dd1917 req: Support --no-use-wheel flag in requirements.txt
Default from pip 1.6 will be to always use wheels, so the --use-wheels
in requirements.txt is now deprecated. However, the --no-use-wheels
is introduced to be able to disable wheel usage via requirements.txt.
2014-06-10 14:57:24 +02:00
Matthew Iversen b7770c502a Remove unnecessary imports, move some to six 2014-06-07 04:21:51 +10:00
MinRK 471f7b4e8c test multi-arch wheels on darwin 2014-05-29 22:00:42 -07:00
MinRK 6d1e9b4eab test OS X arch support 2014-05-29 22:00:40 -07:00
Marcus Smith 3d64db281b merge 1.5.X into develop 2014-05-26 15:06:36 -07:00
Marcus Smith 3066157cc3 when installing from wheel files, parse the filename to build the requirement 2014-05-25 21:00:39 -07:00