option | Right align | Center align |
---|---|---|
This | This | This |
column | column | column |
will | will | will |
be | be | be |
left | right | center |
aligned | aligned | aligned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
break up https://github.com/pypa/pip/pull/511 | |
part1: MERGED https://github.com/pypa/pip/pull/548 | |
- system_site_packages option for reset_env | |
- pypi_server.PyPIProxy.setup() occur in a sitecustomize file (not pth file) to prevent pkg_resources.working_set corruption that corrupts the sys.path | |
part2: MERGED https://github.com/pypa/pip/pull/553 | |
- migrate existing tests to new test_user_site.py module | |
part3: MERGED https://github.com/pypa/pip/pull/567 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: pip wheel [OPTIONS] PACKAGE_NAMES... | |
Creates wheel archives from your requirements and place into ./wheels | |
(requires distribute>0.6.28 and wheel) | |
-w --wheel-dir <DIR> //alternative dir to place wheels into | |
--force-rebuild //rewrite existing wheels | |
--unpack-only <DIR> //unpack to dir, for manual building with "setup.py bdist_wheel" | |
-r, --requirement <FILENAME> | |
-f, --find-links <URL> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"--package-cache" | |
- a new "pip install" config option that offers name-based (i.e. not url-based) caching. | |
- the "--download-cache" option would stay as it is, and not be altered | |
- the package-cache dir would just contain packages (e.g. "nose-1.2.tar.gz", or lxml-2.5[..].whl), anything you've installed while using it. | |
- the package-cache would be turned off by default, since the user assumes a certain amount of risk/responsibility in using it (no hash checking) | |
- the package-cache (if turned on) would be checked prior to using the PackageFinder (which searches pypi and findlinks) | |
(if the req was "nose", any nose version in the package-cache would "win", unless --upgrade is specified) | |
- package-cache offers an alternative to this workflow: | |
- pip install -d DIR PACKAGES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usage: pip COMMAND [OPTIONS] | |
Commands: | |
bundle Create pybundles (archives containing multiple packages) | |
freeze Output all currently installed packages (exact versions) to stdout | |
help Show available commands | |
install Install packages | |
search Search PyPI | |
show Output installed distributions (exact versions, files) to stdout | |
uninstall Uninstall packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Synopsis: | |
pip install [options] <package> [<package> ...] | |
General Options: | |
-V, --version | |
show version and exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virtualenv myVE | |
source myVE/bin/activate | |
cd myproject | |
pip -e .[testing] #installs project into myVE in develop mode with dependencies and the testing extras | |
pip install somepkg #install something else you want to try |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# a comment |
3 problems to be solved:
- making pip a self-sufficient wheel installer
- removing the headache of users being responsible for managing the setuptools build dependency themselves (most notably a pain in non-virtualenv environments),
- the burden/fragility of supporting any pip version with any setuptools version.
solutions for #1:
- vendor pkg_resources
- emulate pkg_resources using the already vendored distlib (#909 )
OlderNewer