PyBGL is a pure python graph library inspired from the BGL (Boost Graph Library).
For more information, visit the wiki.
Minifold requires Python 3 <http://python.org/>.
For example, under Debian-based distribution, run:
sudo apt-get update
sudo apt-get install python3- The sources are available on git.
mkdir ~/git
cd ~/git
git clone https://github.com/nokia/pybgl.git
cd pybgl
python3 setup.py build
sudo python3 setup.py install- Test scripts are provided in
tests/directory. - Install
python3-pytest. - Run tests as follows:
cd ~/git/pybgl/tests/
pytest-3Install the packages needed to build .rpm and .deb packages:
python3-setuptoolspython3-stdebfor.debpackagesrpmfor.rpmpackages
For example, under Debian-based distribution, run:
sudo apt-get update
sudo apt-get install python3-setuptools python3-stdeb rpmTo build .rpm package (in dist/), run:
cd ~/git/pybgl/tests/
python3 setup.py bdist_rpmTo build .deb package (in deb_dist/), run:
python3 setup.py --command-packages=stdeb.command bdist_deb