Jon Dufresne
a1fff4a080
Replace io.open() and codecs.open() with builtin open()
...
In Python 3, these are functionally equivalent and share the same
feature set.
2020-12-25 15:53:08 -08:00
Jon Dufresne
f32adaf09b
Remove __future__ imports
...
Unnecessary since dropping Python 2.
2020-12-24 08:38:09 -08:00
Hugo van Kemenade
d509a27ad4
Review updates
2020-12-22 15:21:17 +02:00
Hugo van Kemenade
33f48e2b72
Replace more six
2020-12-22 10:22:20 +02:00
Hugo van Kemenade
817ee23051
Remove redundant Python 2.7 code
2020-12-22 09:06:26 +02:00
Pradyun Gedam
25ab172b55
Update linter: isort
2020-09-23 19:52:28 +05:30
Pradyun Gedam
78f16daa27
Switch pip's use of pytoml -> toml
2020-04-14 13:07:17 +05:30
Thomas Kluyver
da0ff0db76
Capital S in BuildSystemDetails
2019-11-23 16:46:40 +00:00
Thomas Kluyver
6f55872bf3
Convert tuple return type to a named tuple
2019-11-23 15:29:30 +00:00
Thomas Kluyver
dd7b1ee5c3
Fix building packages with backend-path in pyproject.toml
...
Closes gh-6599
2019-11-23 14:38:27 +00:00
Chris Hunt
f64f15b6d9
Enforce requirement format in build-system.requires
2019-11-09 20:58:27 -05:00
Pradyun Gedam
c6a2f0aac7
Rename {setup_py_dir -> unpacked_source_directory}
...
Why: Because PEP 517 means you won't have a setup.py in your unpacked sources.
2019-09-27 00:53:24 +05:30
Chris Jerdonek
285a23fb8f
Revert "Refactor out read_pyproject_toml() and resolve_pyproject_toml()."
...
This reverts commit f66c1f7639
.
2019-04-26 20:21:04 -07:00
Chris Jerdonek
fb2533a945
Revert "Error out if installing a pyproject.toml-style (PEP 517) project in editable mode."
...
This reverts commit cc2d299f76
.
2019-04-26 20:19:24 -07:00
Chris Jerdonek
24688ee8e8
Revert "Require --no-use-pep517 if using editable mode with pyproject.toml."
...
This reverts commit 71f506e71e
.
2019-04-26 20:19:05 -07:00
Chris Jerdonek
0453f79b9e
Revert "Allow --no-use-pep517 to be used with editable mode in more cases."
...
This reverts commit f069769948
.
2019-04-26 20:18:43 -07:00
Chris Jerdonek
1f27d9659e
Revert "Fix "build_system value" to "build-system table" in pyproject.toml messages."
...
This reverts commit ee80bf98ff
.
2019-04-26 20:18:27 -07:00
Chris Jerdonek
ee80bf98ff
Fix "build_system value" to "build-system table" in pyproject.toml messages.
2019-04-25 13:12:27 -07:00
Chris Jerdonek
f069769948
Allow --no-use-pep517 to be used with editable mode in more cases.
2019-04-25 01:42:11 -07:00
Chris Jerdonek
71f506e71e
Require --no-use-pep517 if using editable mode with pyproject.toml.
2019-03-31 05:40:08 -07:00
Chris Jerdonek
cc2d299f76
Error out if installing a pyproject.toml-style (PEP 517) project in editable mode.
2019-03-14 05:49:39 -07:00
Chris Jerdonek
f66c1f7639
Refactor out read_pyproject_toml() and resolve_pyproject_toml().
2019-03-12 03:32:38 -07:00
Maxim Kurnikov
f77b8ca051
remove #noqa: F401
2019-02-22 14:17:07 +03:00
Nick Coghlan
682cff7230
Fix #6163 : Default to setuptools.build_meta:__legacy__
...
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.
2019-02-06 20:57:57 +10:00
Chris Jerdonek
d619aba150
Provide a better error message for a pyproject.toml editable install.
...
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.)
2019-01-26 07:00:22 -08:00
Chris Jerdonek
35b1cc1c97
Tweak two use_pep517 identity checks. ( #6135 )
2019-01-14 23:25:20 -08:00
Maxim Kurnikov
8fc393a2d1
Add type annotations for pip._internal.pyproject, pip._internal.build_env, pip._internal.index, pip._internal.resolve ( #6072 )
2018-12-17 16:43:23 +05:30
Paul Moore
85e4f8ec41
Fix some remaining TODO comments
2018-11-14 18:24:55 +00:00
Paul Moore
4de2915113
Update required setuptools version for PEP 517
2018-10-29 23:32:03 +01:00
Paul Moore
08e8d908f7
Address review comments
2018-08-09 08:55:28 +01:00
Paul Moore
efa5ad31e7
Refactor load_pyproject_toml into a standalone module
2018-08-05 14:52:46 +01:00