https://github.com/software-mansion-labs/protostar-cairo-py
Python Cairo bindings used by Protostar. Depends on https://github.com/software-mansion-labs/cairo
https://github.com/software-mansion-labs/protostar-cairo-py
Last synced: 2 months ago
JSON representation
Python Cairo bindings used by Protostar. Depends on https://github.com/software-mansion-labs/cairo
- Host: GitHub
- URL: https://github.com/software-mansion-labs/protostar-cairo-py
- Owner: software-mansion-labs
- Created: 2023-02-14T13:30:21.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-17T10:42:40.000Z (over 2 years ago)
- Last Synced: 2025-03-04T10:17:07.844Z (3 months ago)
- Language: Python
- Homepage:
- Size: 3.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# protostar_cairo_py
[](https://pypi.org/project/protostar-cairo-py/)This is an internal package used by [Protostar](https://github.com/software-mansion/protostar).
```
PROTOSTAR
[Python]
│
▼
PROTOSTAR-CAIRO-PY
[Python]
│
▼
SOFTWARE-MANSION-LABS/CAIRO (fork)
[Rust]
│
▼
CAIRO
[Rust]
```
## Setting up the environment
1. Install a Python version management tool such as [pyenv](https://github.com/pyenv/pyenv) or [asdf](https://github.com/asdf-vm/asdf).
1. Install Python 3.9.14.
1. Clone this repository.
1. Verify that the active Python version is 3.9.14.
1. Create a virtual environment: `python -m venv .venv`.
1. Activate the environment: `source .venv/bin/activate`.
1. Upgrade pip: `pip install --upgrade pip`.
1. [Install Poetry](https://python-poetry.org/docs/#installation), which is the dependency manager used by this package.
1. Install project dependencies: `poetry install`.
1. Install Rust by following the instructions on [rust-lang.org](https://www.rust-lang.org/tools/install).
1. Test if everything works by building a wheel: `poe build`.
## Deploying
1. Update the git submodule: `poe sync`.
1. Release a package: `poe deploy`.