PyBGL是一个纯Python图形库,灵感来自于 BGL (BoostGraphLibrary).
依赖Minifold要求最低Python3<https://python.org/>.
sudoapt-getupdatesudoapt-getinstallpython3安装步骤源码安装
mkdir~/gitcd~/gitgitclonehttps://github.com/nokia/pybgl.gitcdpybglpython3setup.pybuildsudopython3setup.pyinstall测试测试脚本存放在 tests/ 目录.安装 python3-pytest.运行如下测试脚本cd~/git/pybgl/tests/pytest-3安装包可通过rpm和deb方式安装
python3-setuptoolspython3-stdeb for .deb packagesrpm for .rpm packages例如,基于Debian的发行版可以使用如下命令来安装
sudoapt-getupdatesudoapt-getinstallpython3-setuptoolspython3-stdebrpmTobuild .rpm package(in dist/),run:
cd~/git/pybgl/tests/python3setup.pybdist_rpmTobuild .deb package(in deb_dist/),run:
python3setup.py--command-packages=stdeb.commandbdist_deb
评论