mirror of
https://github.com/revng/revng
synced 2026-06-21 14:07:57 +00:00
2778458539
Readme and pyproject for revng and revng_internal to the projects folders. Updated CMakeLists.txt so we can specify the README and pyproject paths.
37 lines
673 B
Markdown
37 lines
673 B
Markdown
# rev.ng python package
|
|
|
|
This python package provides classes that can be used to represent, serialize and deserialize rev.ng models.
|
|
|
|
It also contains other modules related to various revng CLI tools.
|
|
|
|
## How to install
|
|
|
|
You probably want to install this package in a virtualenv:
|
|
|
|
```shell
|
|
python -m venv <virtualenv_dir>
|
|
source <virtualenv_dir>/bin/activate
|
|
```
|
|
|
|
### Installation
|
|
|
|
To build and install from source:
|
|
|
|
```shell
|
|
pip install .
|
|
```
|
|
|
|
### Creating redistributable packages
|
|
|
|
This command will create a redistributable package in `dist`:
|
|
|
|
```shell
|
|
python setup.py bdist_wheel
|
|
```
|
|
|
|
The package can be installed using `pip`:
|
|
|
|
```bash
|
|
pip install dist/revng*.whl
|
|
```
|