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

563 commits

Author SHA1 Message Date
Kit Randel
8325c439b8 Provide link to constraints documentation. 2015-08-03 10:40:12 +12:00
Donald Stufft
7d69501fcb Merge pull request #2820 from j0057/config-docs
Document behavior of boolean config file variables (--no-cache and --no-compile)
2015-06-23 19:11:22 -04:00
Joost Molenaar
85a1036836 Document surprising pip configuration behavior 2015-06-03 06:22:01 +02:00
Robert Collins
bb0b429a49 Issue #2731: Constraints files.
This adds constraints files. Like requirements files constraints files
control what version of a package is installed, but unlike
requirements files this doesn't itself choose to install the package.
This allows things that aren't explicitly desired to be constrained if
and only if they are installed.
2015-06-03 06:38:33 +12:00
Robert Collins
1d04615a37 Tweak requirement file documentation.
We're actually pinning down a fairly specific grammar now, so lets
make it official. All options are at the end, and only options get
quoting. I've also tweaked some of the existing examples to make the
existing grammar features (that I know people use) clearer - like
spaces between requirements and version specifiers.
2015-06-02 07:15:42 +12:00
Marcus Smith
1afd2e8494 docs updates related to environment markers 2015-06-02 06:50:16 +12:00
Marcus Smith
1a083514fc intersphinx to PyPUG and pypa.io 2015-06-02 06:50:16 +12:00
Donald Stufft
3569a9b060 Remove the implicit debug log 2015-05-21 18:01:40 -04:00
Razzi Abuissa
70c6db627b Fix typo 2015-05-09 19:39:55 -04:00
Marcus Smith
b1cab1e31b docs and changelog about marker parsing changes 2015-05-09 14:43:35 -07:00
Donald Stufft
18064e7017 Remove the workarounds/hacks to handle distribute -> setuptools 2015-05-09 15:09:05 -04:00
Robert Collins
6aec23cafe Issue #2675: Granular control over wheels/sdists
With wheel autobuilding in place a release blocker is some granular
way to opt-out of wheels for known-bad packages. This patch introduces
two new options: --no-binary and --only-binary to control what
archives we are willing to use on both a global and per-package basis.

This also closes #2084
2015-04-24 08:52:48 +12:00
Donald Stufft
bd39f99f4f Merge pull request #2714 from mkohler/repeatability_caveat
Add setup_requires caveat to repeatability section.
2015-04-22 20:43:05 -04:00
Mark Kohler
ee0f460f02 Add setup_requires caveat to repeatability section. 2015-04-22 16:00:14 -07:00
Robert Collins
f76dab1a52 PyPI is less broken now. Update docs. 2015-04-23 09:58:49 +12:00
Robert Collins
62041d3ca8 Cleanup now use_wheel is the default.
There were a bunch of tests passing use_wheel unnecessarily, this
makes the change to remove use_wheel larger than it needs to be.
2015-04-20 20:12:03 +12:00
Robert Collins
0e57ebc008 Make adding options be just function calls.
The .make is just sugar for 'call a function' that gets in the way of
just having functions.
2015-04-17 15:04:25 +12:00
Robert Collins
08acb6670d Issue #2140: Build wheels automatically
Building wheels before installing elminates a cause of broken environments -
where install fails after we've already installed one or more packages.

If a package fails to wheel, we run setup.py install as normally.
2015-04-13 18:33:07 +12:00
Robert Collins
4926409340 Issue #2563: Read cached wheels from ~/.cache/pip
This won't put wheels into that directory, but will read them if they
are there. --no-cache-dir will disable reading such wheels.
2015-04-13 18:33:07 +12:00
Georgi Valkov
0da51b14d7 Remove misleading test cases and improve docs 2015-04-12 23:52:49 +02:00
Georgi Valkov
29f0c75c63 Do not shlex.split() and flatten value of global|install_options 2015-04-12 23:52:49 +02:00
Georgi Valkov
4a70730617 Replace all occurrences of install|global-options with install|global-option 2015-04-12 23:52:49 +02:00
Georgi Valkov
b014668b30 Add --install-options and --global-options to the requirements file parser
This allows lines such as the following to exist in requirements files:

  INITools==0.2 --install-options="--prefix=/opt"
  virtualenv>=1 --global-options="--no-user-cfg"

In addition, the requirements file parser was overhauled with simplicity
and clarity in mind.
2015-04-12 23:52:49 +02:00
Donald Stufft
1d58e09588 Merge pull request #2645 from techtonik/patch-3
pip_install.rst: Fix backslashes in Windows path
2015-04-07 05:39:31 -04:00
Marcus Smith
6d839e2b14 Note that the current cycle handling is not a promise, and that broken environments are still possible. 2015-04-02 21:12:52 -07:00
Marcus Smith
30ea101678 more explanation of the install order 2015-04-01 21:21:19 -07:00
Marcus Smith
dd27b19c1b fix broken section anchor 2015-04-01 16:57:15 -07:00
Robert Collins
17352765f0 Issue #2478 - topological install order.
This is needed for setup-requires, since without it its possible
to cause installation to fail in sort-circuit scenarios such as
the added functional test case demonstrates.
2015-04-01 12:33:17 +13:00
Eric Hanchrow
b3c73c32a0 Update user_guide.rst
Fix typo: the example at the end is for _installing_ a bundle, not _uninstalling_ it
2015-03-22 17:03:04 -07:00
anatoly techtonik
6b28be6a76 pip_install.rst: Fix backslashes in Windows path 2015-03-18 15:41:10 +03:00
Kyle Persohn
a57f31beba Update user_guide.rst 2015-03-16 15:30:13 -05:00
Bence Nagy
ea01415b8b Disable sphinx's smartypants to fix -- being replaced with – in docs 2015-03-13 14:45:10 +01:00
Marc Abramowitz
f4ee579304 test_freeze_svn: No dep on bitbucket
Instead of using local_checkout, which downloads a 204 KB dump file from
http://bitbucket.org/hltbra/pip-initools-dump/raw/8b55c908a320/INITools_modified.dump,
use `svnadmin create` and `svn import` to create an svn repo on the fly.
2015-03-11 10:26:35 -07:00
Donald Stufft
9981efdd89 Merge pull request #2302 from dstufft/document-cache
Document the default cache directories
(cherry picked from commit ef4b0a9bed)
2015-01-03 01:09:01 -05:00
Donald Stufft
e65a22cd4f Document the default cache directories 2015-01-02 23:14:17 -05:00
Donald Stufft
15ab56dc14 Update the documentation to reflect the current release process 2014-12-23 09:43:46 -05:00
Marc Abramowitz
e3ada1280b Update installing.rst
Resolve merge conflict on updating on Windows.
2014-12-23 07:39:13 -05:00
Marc Abramowitz
a19e6dd308 Update installing.rst
Resolve merge conflict on updating on Windows.
2014-12-22 20:50:21 -08:00
Donald Stufft
7b4be2bc3e Merge branch 'develop'
Conflicts:
	docs/installing.rst
	docs/reference/pip_install.rst
2014-12-22 11:20:01 -05:00
Donald Stufft
5f5ebe8259 Document an alternative to pip bundle 2014-12-20 19:08:33 -05:00
Bussonnier Matthias
0582a91e62 Do not shadow submodules
using object that have the same name as submodules as the weird effect
of makeing `import pip.commands.<something> as <anothername>` fail with
a key error. This fixes it by renamin commands as command_dict and fixin
a few imports to accomodate.

Related to #2149
2014-12-12 16:06:04 +01:00
Jan Pokorný
859acf124d
doc/install: fix typo in "from repo subdir" example
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
2014-12-09 22:00:31 +01:00
jarondl
b974eadd9d DOC: pip is sometimes included with Python 2014-12-08 14:15:12 +02:00
Victor Stinner
e498d83db1 Support markers in requirements
It's now possible to specify requirements markers in requirements.
Examples::

    futures; python_version < '2.7'
    mock; python_version < '3.3'
    nose
    ordereddict; python_version < '2.7'
    unittest2; python_version < '2.7'

The separator is "; ". For convinience, ";" alone is also supported, but
no in URLs. The ";" character is a legit and common character in an URL.
Example of valid URL without markers::

    http://foo.com/?p=bar.git;a=snapshot;h=v0.1;sf=tgz

Example of URL with markers::

    http://foo.com/?p=bar.git;a=snapshot;h=v0.1;sf=tgz; python_version < '3.3'
2014-11-20 10:52:08 -05:00
Chris Jerdonek
c9c69ed052 Update docs to explain the "version" component of the egg name. 2014-10-01 07:14:49 -04:00
Donald Stufft
0e96b1af4b Switch versioning from X.Y.Z to X.Y dropping the leading 1 2014-09-17 22:05:31 -04:00
Donald Stufft
d91e0d9e20 Clarify the requirements file format documentation - Thanks @thanatos 2014-09-11 09:53:30 -04:00
Donald Stufft
f63d1e3abb Implement platform specific user config locations 2014-09-10 11:43:34 -04:00
Donald Stufft
767d11e49c Switch to using the stdlib logger instead of pip.log 2014-09-10 09:36:09 -04:00
anatoly techtonik
aef9dccc92 docs: there are also independent package managers 2014-09-07 22:52:00 +03:00