Skip to content

Instantly share code, notes, and snippets.

@qwcode
qwcode / gist:3088149
Created July 11, 2012 05:14
non-recursive force upgrade

Upgrading a package, w/o upgrading dependencies that are already satisifed

suppose the following packages: a, b, c, d

with the following dependency relationships between their versioned distributions

  • a-1
  • b
@qwcode
qwcode / gist:2993698
Created June 26, 2012 06:12
pip install options breakdown
option Right align Center align
This This This
column column column
will will will
be be be
left right center
aligned aligned aligned
@qwcode
qwcode / gist:2822510
Created May 29, 2012 04:26
breakup pip pull request 511
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