Skip to content

Commit

Permalink
Adding type hinting and some safety features
Browse files Browse the repository at this point in the history
  • Loading branch information
ifilot committed Dec 8, 2023
1 parent 0f4b87a commit 29de85c
Show file tree
Hide file tree
Showing 5 changed files with 386 additions and 47 deletions.
21 changes: 15 additions & 6 deletions COMPILATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,20 +90,29 @@ To upload, run
python -m twine upload wheelhouse/*
```

## Compilation and testing under Linux Debian
## Compilation

Compile locally
```
python3 setup.py build
python3 setup.py build --inplace
```

and install it locally
## Building via cibuildwheel

To create a wheel (`whl`), run

```
pip3 install -e .
pipx run cibuildwheel --only cp310-manylinux_x86_64
```

and finally test it
To install the `whl` file

```
pytest-3 tests/*
pip3 install wheelhouse/pyqint-<VERSION>-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
```

and to locally test

```
pytest-3 tests/*.py
```
2 changes: 1 addition & 1 deletion meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: "pyqint"
version: "0.15.0"
version: "0.16.0"

source:
path: .
Expand Down
2 changes: 1 addition & 1 deletion pyqint/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.15.0"
__version__ = "0.16.0"

Loading

0 comments on commit 29de85c

Please sign in to comment.