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

52 commits

Author SHA1 Message Date
Donald Stufft
701a80f451 Update the get-pip.py script with 6.1.1 2015-04-07 07:00:57 -04:00
Donald Stufft
4944e97183 Update get-pip.py with 6.1.0 2015-04-07 00:51:05 -04:00
Donald Stufft
b9f2d5d5bb Upgrade the get-pip.py script with 6.0.8 2015-02-04 21:43:32 -05:00
Donald Stufft
cfd03c17cf Update get-pip.py to pip 6.0.7 2015-01-28 16:44:09 -05:00
Donald Stufft
ee6b739fb6 Update get-pip.py to 6.0.6 2015-01-03 04:31:46 -05:00
Donald Stufft
3dbe2da0c8 Update get-pip.py to 6.0.5 2015-01-03 03:09:09 -05:00
Donald Stufft
cf86cd878e Update get-pip.py to version 6.0.4 2015-01-03 01:50:32 -05:00
Donald Stufft
1947f076f5 Revert "Don't use the cache directory when using get-pip.py"
This reverts commit 1a35caf3f1.
2014-12-27 20:50:38 -05:00
Donald Stufft
1a35caf3f1 Don't use the cache directory when using get-pip.py 2014-12-27 20:49:09 -05:00
Donald Stufft
40e2a0e5c5 Generate a new get-pip.py 2014-12-23 20:16:45 -05:00
Donald Stufft
562c56f602 Update get-pip.py 2014-12-23 08:37:33 -05:00
Donald Stufft
2084e41347 Fix pep8 issue 2014-12-23 07:38:23 -05:00
Donald Stufft
39990a37a1 Correct the spelling 2014-12-22 18:56:50 -05:00
Donald Stufft
61415ea2bf Do some gymnastic to respect a certificate configured via config file 2014-12-22 18:32:34 -05:00
Leon Sasson
74fdc2dc4d Update actual path of generation script 2014-08-21 19:37:05 -05:00
Donald Stufft
3eaea35f2e Merge branch 'master' into develop 2014-06-04 16:30:47 -04:00
Donald Stufft
2b0b2f8ff3 bump get-pip.py to pip 1.5.6 2014-06-04 16:30:33 -04:00
Donald Stufft
f846d4bf79 refresh the bootstrap script 2014-05-16 22:56:26 -04:00
Donald Stufft
16a435e315 Merge branch 'master' into develop 2014-05-03 02:46:11 -04:00
Donald Stufft
6c71953b54 Refresh the bootstrap script 2014-05-03 02:45:57 -04:00
Donald Stufft
76535626c1 Move the contrib/build-installer into an invoke generate.installer 2014-02-26 17:35:01 -05:00
Ashley Manton
f5c5319d47 Fix "it's"/"its" typo spotted by @kraai 2014-02-14 23:01:51 +00:00
Ashley Manton
f40f9e2072 Fix minor typo 2014-02-14 14:31:01 +00:00
Donald Stufft
340d69e5b1 Merge pull request #1514 from dongweiming/develop
Modify add pip_zip to sys.path method
2014-01-29 18:06:36 -08:00
Donald Stufft
9f027337a8 Use Flake8 on the test of pip's Python files 2014-01-28 19:47:58 -05:00
Dongweiming
39039e0249 Modify add pip_zip to sys.path method 2014-01-28 08:27:24 -05:00
Donald Stufft
645180e271 Use a ZipFile as the get-pip.py script
Previously get-pip.py was a hacky script that included compressed
base64 encoded pickled files that represented an installed pip. It
extracted these files into the temporary location and then executed
that unpacked pip in order to install pip and setuptools from PyPI.

This changes it so that get-pip.py is the bootstrap script and it
contains inside it a base64 encoded zipped copy of pip. It will
decode this base64 encoded zip file, write it to a temporary
location, and then add it to the sys.path. It will then run
the bootstrap function which will extract cacert.pem from the
zip file, write the cacert.pem to a temporary location, and
finally install pip using the copy of pip within the zip
using the temporary cacert.pem to validate the TLS connection to
PyPI.

This should represent no change in behavior for users of get-pip.py
however it should push the trouble of the bulk of the implementation
onto the Python install instead of trying to do this ourselves.

The one important behavior change for packagers is that this will
no longer package an *installed* pip, but will instead package the
version that has been checked out. I believe this is more obvious
and what a packager would expect to happen anyways.
2014-01-28 07:15:33 -05:00
Donald Stufft
ed11675cbb Regenerate the get-pip.py installer 2014-01-26 10:57:59 -05:00
Paul Moore
3c5e8f8aeb Fix to get-pip.py builder to properly handle binary files 2014-01-21 19:54:45 +00:00
Donald Stufft
c6405ec006 Make sure to package .exe and .cfg files in get-pip.py as well 2014-01-21 10:40:14 -05:00
Donald Stufft
530a5fd3cc Update get-pip.py for pip 1.5.1 2014-01-20 23:05:19 -05:00
Marcus Smith
0d34b1d072 remove unneeded setuptools/pkg_resources checks due to vendoring pkg_resources 2014-01-14 20:58:07 -08:00
Jannis Leidel
78d125d813 Updated get-pip.py 2013-07-23 21:54:36 +02:00
Steven Myint
17a8bf9e7a Put back executable bit 2013-06-01 09:16:04 -07:00
Steven Myint
f7bf72bc27 Fix spellings errors 2013-06-01 09:09:41 -07:00
Gabriel
1752257572 get-pip.py: rebuild
Now we're down to 267K, 202K gzipped.
2013-04-16 09:52:52 +02:00
Gabriel
6d6f15a9b8 Use bz2 instead of gzip as the intermediate encoding.
bz2 is available since Python 2.3.
2013-04-16 09:52:07 +02:00
Gabriel
a8feea2601 get-pip.py: rebuild
quoted-printable is a size gain of about 30%, before or after gzipping.
2013-04-16 09:41:54 +02:00
Gabriel
25d47b9a14 Use quoted-printable as the inner encoding.
This compresses a lot more efficiently (get-pip.py.gz is within 12% of tar czf).
2013-04-16 09:39:17 +02:00
Gabriel
a4dd7126d2 get-pip.py: rebuild 2013-04-15 20:00:30 +02:00
Gabriel
f75117452f Ship CA certificates in get-pip.py
This will allow rebuilding the get-pip script with
a recent pip version, one that downloads pip more securely.
2013-04-15 19:57:06 +02:00
Paul Nasrat
2860dc7d41 Fix whitespace, etc for pep8 compliance
Reran tests after changes on 2.4, 2.6, 3.2 all pass.

=====================================================
================== Running pep8 =====================

Searching for pep8
Reading http://pypi.python.org/simple/pep8/
Reading http://github.com/cburroughs/pep8.py/tree/master
Reading http://github.com/jcrocholl/pep8
Best match: pep8 0.6.1
Processing pep8-0.6.1-py2.6.egg
pep8 0.6.1 is already the active version in easy-install.pth
Installing pep8 script to /Users/pnasrat/Development/pip/pip_virtualenv/bin

Using /Users/pnasrat/Development/pip/pip_virtualenv/lib/python2.6/site-packages/pep8-0.6.1-py2.6.egg
Processing dependencies for pep8
Finished processing dependencies for pep8

==================== Ended pep8 =====================
=====================================================
2011-05-04 08:44:02 +01:00
Jannis Leidel
36740c2eff Updated get-pip.py. 2011-04-04 18:16:17 +02:00
Jannis Leidel
a50ac009c8 Updated script generators to show a nice warning if setuptools/distribute can't be found during execution. 2011-04-04 18:14:01 +02:00
Jannis Leidel
69c33a4090 Don't use context managers in the contrib scripts. Thanks to Hugo's eagle eyes. 2011-04-04 16:42:56 +02:00
Jannis Leidel
496910eabd Added get-pip.py installer. 2011-04-04 14:07:50 +02:00
Jannis Leidel
70f1a44d68 Updated name of installer script to get-pip.py and updated docs to mention that script in the installation instructions. 2011-04-04 14:03:23 +02:00
Jannis Leidel
e2868690b1 Removed unneeded regen-docs script. 2011-04-04 13:52:38 +02:00
Jannis Leidel
a778647b22 Added build-installer script to build install-pip.py script, a standalone version of pip that installs itself. Also updated build-standalone script to use the new packager contrib tool. 2011-04-04 13:52:27 +02:00
Jannis Leidel
3857317669 Added contrib packager based on Ronny Pfannschmidt's genscript. 2011-04-04 13:51:21 +02:00