8000 Simplest pyproject.toml containing [build-system] only · matplotlib/matplotlib@c127355 · GitHub
[go: up one dir, main page]

Skip to content

Commit c127355

Browse files
committed
Simplest pyproject.toml containing [build-system] only
1 parent 76a5711 commit c127355

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[build-system]
2+
build-backend = "setuptools.build_meta"
3+
requires = [
4+
"certifi>=2020.06.20",
5+
"numpy>=1.19",
6+
"setuptools_scm>=7",
7+
]

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
import setuptools.command.build_py
3535
import setuptools.command.sdist
3636

37+
sys.path.append(str(Path(__file__).resolve().parent))
38+
3739
import setupext
3840
from setupext import print_raw, print_status
3941

@@ -300,11 +302,6 @@ def make_release_tree(self, base_dir, files):
300302
package_data=package_data,
301303

302304
python_requires='>={}'.format('.'.join(str(n) for n in py_min_version)),
303-
setup_requires=[
304-
"certifi>=2020.06.20",
305-
"numpy>=1.19",
306-
"setuptools_scm>=7",
307-
],
308305
install_requires=[
309306
"contourpy>=1.0.1",
310307
"cycler>=0.10",

0 commit comments

Comments
 (0)
0