mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 02:39:28 +00:00
From the Python README, refer to the printer demo instead of the tests.
This commit is contained in:
parent
f7c4ee6812
commit
6a6b70185f
1 changed files with 4 additions and 10 deletions
|
@ -12,16 +12,10 @@ the project is overall incomplete.
|
|||
You can track the overall progress for the Python integration in GitHub at https://github.com/slint-ui/slint/milestone/18
|
||||
as well as by looking at python-labelled issues at https://github.com/slint-ui/slint/labels/a%3Alanguage-python .
|
||||
|
||||
If you want to just play with this, you can try running one of our test cases in a virtual environment:
|
||||
If you want to just play with this, you can try running our Python port of the [printer demo](../../examples/printerdemo/python/README.md):
|
||||
|
||||
```bash
|
||||
cd api/python
|
||||
python -m venv .env
|
||||
source .env/bin/activate
|
||||
pip install maturin
|
||||
maturin develop
|
||||
python ./tests/test_instance.py
|
||||
cd examples/printerdemo/python
|
||||
pipenv update
|
||||
pipenv run python main.py
|
||||
```
|
||||
|
||||
This will bring up the printer demo and a Python callback is invoked when starting a new print job.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue