Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pre-generated cython files. #1679

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bindings/python/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# TODO: This contains a lot of {c|p}ython build boilerplate, this needs cleanup.
PYTHON ?= python
PYTHON ?= python3
SETUP := setup.py
BUILD_ARGS := build --build-lib .
INST_ARGS := install
Expand Down
15 changes: 3 additions & 12 deletions bindings/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,12 @@ the hardware in question (see below for setting it via command line argument).

Then, in the root directory for the matrix library simply type:

### Python 2

```shell
sudo apt-get update && sudo apt-get install python2.7-dev python-pillow -y
make build-python
sudo make install-python
```

### Python 3
You can also build for Python 3:

```shell
sudo apt-get update && sudo apt-get install python3-dev python3-pillow -y
make build-python PYTHON=$(command -v python3)
sudo make install-python PYTHON=$(command -v python3)
sudo apt-get update && sudo apt-get install python3-dev cython3 -y
make build-python
sudo make install-python
```

### PyPy
Expand Down
Loading
Loading