Skip to content

Installation

FSEG is implemented as a python package with a pybind11 extension. Currently, the project is at Pre-Alpha stage, and you can install FSEG either from PYPI or from source. Later, installation with Anaconda is more recommended.

with PIP

pip install fseg

with GIT

  • pre-requirements

It is required that cmake and C++ compiler installed beforehand. Anaconda is also needed to manager python envs.

For example, on MacOSX with Homebrew:

brew install anaconda
brew install cmake

  • clone source code by:

    git clone https://github.com/mikesongming/SE-Geometry.git
    

  • build and install

After changing to the source directory, it is recommended to use PEP517-compatible build-system to package the wheel:

python -m build -w

If successful, install the wheel by pip:

pip install dist/fseg-${ver}-${plat_name}_${arch}.whl

Back to top