This project uses cibuildwheel to build the OGDF library into a ready-to-use python package (called wheel) installable via pip install ogdf-wheel.
The wheel contains both debug and release builds of the OGDF.
It is mainly intended to be used with ogdf-python when you don't want to build the OGDF yourself or use a C++ package manager.
Publishing new Releases
The CI does neither automatically build new OGDF versions nor directly publishes the results to PyPi. To publish a new version, perform the following steps:
- Update the
/ogdf/submodule in this repo to point to the latest release of the OGDF. - Update the version number in
pyproject.toml. - Commit and push your changes to GitHub.
- Wait for the CI there to finish.
- Download the resulting
.whlfiles. - Use
twineto upload the files to PyPi, see also theogdf-pythonrelease process.
Building a clean sdist locally
cd /tmp git clone /path/to/ogdf-wheel cd /tmp/ogdf-wheel git submodule update --init --recursive python -m build --sdist mv dist/ogdf_wheel-*.tar.gz /path/to/ogdf-wheel/dist