File tree Expand file tree Collapse file tree 3 files changed +9
-14
lines changed
Expand file tree Collapse file tree 3 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 2929 - name : Install Dependencies 📦
3030 run : pip install -r requirements.txt
3131
32- - name : Build Python Extension 🛠️
33- run : python3 src/setup.py build
34- - name : Install Python Extension 📦
35- run : python3 src/setup.py install
32+ - name : Build and Install Python Extension 🛠️
33+ run : pip3 install src/
3634
3735 - name : Run Benchmarks 📊
38- run : python3 -m pytest tests/test_benchmark.py --verbose
36+ run : pytest tests/test_benchmark.py --verbose
Original file line number Diff line number Diff line change @@ -11,11 +11,7 @@ To create a simple example how to extend Python with C++ extensions.
1111
1212## Build and install
1313
14- ` python3 src/setup.py build ` will build the ` C++ ` extension.
15-
16- ` python3 src/setup.py install ` will build and install it.
17-
18- You can use ` --user ` flag to install to the Python user install directory.
14+ ` pip3 install src/ ` will build and install ` C++ ` extension.
1915
2016## How to use
2117
Original file line number Diff line number Diff line change 1- Cython ~= 3.0.0
2- pytest-benchmark ~= 5.0.0
3- pytest ~= 8.3.0
4- setuptools ~= 76.0.0
1+ Cython
2+ pytest
3+ pytest-benchmark
4+ setuptools
5+ wheel
You can’t perform that action at this time.
0 commit comments