Skip to content

Commit a9dacd8

Browse files
committed
remove pip as a build-system dependency in pyproject.toml
1 parent 891d089 commit a9dacd8

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
requires = ["wheel",
33
"setuptools >= 30.3.0",
44
"cmake >= 3.16",
5-
"pip >= 10.0",
65
"pybind11[global] >= 2.6.0"]
76
build-backend = "setuptools.build_meta"
87

python/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The only developer-specific instructions relate to running unit tests.
7676

7777
### Unit tests
7878

79-
The Python unit tests are run via `tox`, with no arguments, from the project root directory -- not the python subdirectory. Tox creates a temporary virtual environment in which to build and run teh unit tests. In the event you are missing the necessary pacakge, tox may be installed with `python3 -m pip install --upgrade tox`.
79+
The Python unit tests are run via `tox`, with no arguments, from the project root directory -- not the python subdirectory. Tox creates a temporary virtual environment in which to build and run the unit tests. In the event you are missing the necessary pacakge, tox may be installed with `python3 -m pip install --upgrade tox`.
8080

8181
## License
8282

python/pybind11Path.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@echo off
22
:: Takes path to the Python interpreter and returns the path to pybind11
3-
%1 -m pip show pybind11 | %1 -c "import sys,re;[sys.stdout.write(re.sub('^Location:\\s+','',line)) for line in sys.stdin if re.search('^Location:\\s+',line)]"
3+
%1 -c "import pybind11,sys;sys.stdout.write(pybind11.get_cmake_dir())"

0 commit comments

Comments
 (0)