Powered by: Vectra
Open your bash terminal and paste the following command(s):
git clone https://github.com/SketchX7/linalg cd linalg bash ./set-up.sh
-
make run
- executes the python code written in thetests/main.py
file. A shortcut for executingpython3 ./tests/main.py
.make build
- builds and installs the library to the testing virtual environment. A shortcut for executingmaturin develop
.make execute
- runsmake build
andmake run
in the background.
-
maturin develop
- builds and installs the library to the testing virtual environment (unoptimized + debug info).maturin develop --release
- builds and installs the library to the testing virtual environment (optimized + release).maturin build
- builds the library and saves the installation file (.whl
) tolinalg/target/wheels/
folder (unoptimized + debug info).maturin build --release
- builds the library and saves the installation file (.whl
) tolinalg/target/wheels/
folder (optimized + release).
-
- In
linalg/linalg/
you can define the.pyi
(stub files) for IDEs code completion. This will be included into the final installation file (.whl
). - More info to come.
- In
-
- Download the
.whl
file from theto be done
(or build it yourself). - Move the
.whl
file to the virtual environment or folder of your choice. - Execute
pip install linalg-abc..xyz.whl
in the bash shell.
- Download the