summaryrefslogtreecommitdiff
path: root/src/pip/_internal/pyproject.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove typing.TYPE_CHECKING guardsJon Dufresne2021-02-191-4/+1
| | | | | | | | | | | The typing module has been available since Python 3.5. Guarding the import has been unnecessary since dropping Python 2. Some guards remain to either: - Avoid circular imports - Importing objects that are also guarded by typing.TYPE_CHECKING - Avoid mypy_extensions dependency
* Replace pip._internal.utils.typing with stdlib typingJon Dufresne2021-02-181-2/+2
| | | | | | | | The stdlib module has been available since Python 3.5 and the TYPE_CHECKING constant has been available since 3.5.2. By using stdlib, this removes the need for pip to maintain its own Python 2 typing compatibility shim.
* Replace io.open() and codecs.open() with builtin open()Jon Dufresne2020-12-251-2/+1
| | | | | In Python 3, these are functionally equivalent and share the same feature set.
* Remove __future__ importsJon Dufresne2020-12-241-2/+0
| | | | Unnecessary since dropping Python 2.
* Review updatesHugo van Kemenade2020-12-221-3/+1
|
* Replace more sixHugo van Kemenade2020-12-221-2/+2
|
* Remove redundant Python 2.7 codeHugo van Kemenade2020-12-221-5/+0
|
* Update linter: isortPradyun Gedam2020-09-231-1/+1
|
* Switch pip's use of pytoml -> tomlPradyun Gedam2020-04-141-2/+2
|
* Capital S in BuildSystemDetailsThomas Kluyver2019-11-231-3/+3
|
* Convert tuple return type to a named tupleThomas Kluyver2019-11-231-3/+9
|
* Fix building packages with backend-path in pyproject.tomlThomas Kluyver2019-11-231-2/+5
| | | | Closes gh-6599
* Enforce requirement format in build-system.requiresChris Hunt2019-11-091-0/+16
|
* Rename {setup_py_dir -> unpacked_source_directory}Pradyun Gedam2019-09-271-2/+2
| | | | Why: Because PEP 517 means you won't have a setup.py in your unpacked sources.
* Revert "Refactor out read_pyproject_toml() and resolve_pyproject_toml()."Chris Jerdonek2019-04-261-77/+32
| | | | This reverts commit f66c1f7639bee37d1874c8c9e663da7cdbaf49cf.
* Revert "Error out if installing a pyproject.toml-style (PEP 517) project in ↵Chris Jerdonek2019-04-261-36/+1
| | | | | | editable mode." This reverts commit cc2d299f76b52ad8ecf2040040ce33e5057e17eb.
* Revert "Require --no-use-pep517 if using editable mode with pyproject.toml."Chris Jerdonek2019-04-261-68/+37
| | | | This reverts commit 71f506e71ed2790126a78abc97c6c2d2feff7a02.
* Revert "Allow --no-use-pep517 to be used with editable mode in more cases."Chris Jerdonek2019-04-261-41/+14
| | | | This reverts commit f06976994851090ca3715387231594dd99b626be.
* Revert "Fix "build_system value" to "build-system table" in pyproject.toml ↵Chris Jerdonek2019-04-261-4/+4
| | | | | | messages." This reverts commit ee80bf98ffeac98f07b216625df81fd90d761e77.
* Fix "build_system value" to "build-system table" in pyproject.toml messages.Chris Jerdonek2019-04-251-4/+4
|
* Allow --no-use-pep517 to be used with editable mode in more cases.Chris Jerdonek2019-04-251-14/+41
|
* Require --no-use-pep517 if using editable mode with pyproject.toml.Chris Jerdonek2019-03-311-37/+68
|
* Error out if installing a pyproject.toml-style (PEP 517) project in editable ↵Chris Jerdonek2019-03-141-1/+36
| | | | mode.
* Refactor out read_pyproject_toml() and resolve_pyproject_toml().Chris Jerdonek2019-03-121-32/+77
|
* remove #noqa: F401Maxim Kurnikov2019-02-221-1/+1
|
* Fix #6163: Default to setuptools.build_meta:__legacy__Nick Coghlan2019-02-061-7/+9
| | | | | | | | | | | The main setuptools PEP 517 backend is intended for explicit usage in `pyproject.toml`, when the project authors can ensure that their `setup.py` runs without that directory being implicitly on `sys.path`. For implicit usage, setuptools now offers a separate legacy backend that more closely mimics direct execution of the `setup.py` script.
* Provide a better error message for a pyproject.toml editable install.Chris Jerdonek2019-01-261-0/+12
| | | | | | | | | The message looks like this: File "setup.py" not found. Directory cannot be installed in editable mode: <absolute-dir-path> (A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
* Tweak two use_pep517 identity checks. (#6135)Chris Jerdonek2019-01-141-4/+7
|
* Add type annotations for pip._internal.pyproject, pip._internal.build_env, ↵Maxim Kurnikov2018-12-171-2/+13
| | | | pip._internal.index, pip._internal.resolve (#6072)
* Fix some remaining TODO commentsPaul Moore2018-11-141-7/+6
|
* Update required setuptools version for PEP 517Paul Moore2018-10-291-2/+2
|
* Address review commentsPaul Moore2018-08-091-11/+11
|
* Refactor load_pyproject_toml into a standalone modulePaul Moore2018-08-051-0/+144