Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.09 KB

CONTRIBUTING.md

File metadata and controls

35 lines (22 loc) · 1.09 KB

Contributing to pyslang

Pyslang, the Python bindings for the slang project, are built, tested, and packaged with code in this repository.

The bulk of functional code is in the slang repository. Please refer to its CONTRIBUTING.md guide for more information on contributing to the core project.

Python Bindings

Python bindings are built using pybind11.

Documentation

All documentation is contained in the docs directory of the slang repository.

Building and Testing

  1. Clone the pyslang repository (https://github.com/MikePopoloski/pyslang)
  2. Clone the slang submodule:
git submodule update --init --recursive
  1. Optionally, create a virtual environment and activate it.
python3 -m venv venv
source venv/bin/activate
  1. Install pyslang as a Python package (including building the C++ slang library with bindings, from the submodule):
pip install .