File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,11 +59,28 @@ updated. For example manually like so to follow the latest development:
5959Building the package
6060------------
6161Once those steps are done, the library can be build using the ` setup.py ` script.
62+ If you want to create virtual environment on other directory, not equal python-libsbml, you need to set SWIG_EXECUTABLE environment variable.
6263
63- python setup.py build
64+ python -m venv /path/to/your/venv
65+
66+ source /path/to/your/venv/bin/activate
67+
68+ pip install --upgrade pip setuptools wheel cmake swig
69+
70+ export SWIG_EXECUTABLE=$(which swig) && python setup.py build
6471
6572to build the experimental package, all that needs to be done is to set the environment variable ` LIBSBML_EXPERIMENTAL=1 ` prior to building
6673
74+ Install the package into the virtual environment:
75+ ------------
76+ This is main part of the process, you can install the build package into the virtual environment using the following command:
77+
78+ source /path/to/your/venv/bin/activate # Activate the virtual environment
79+
80+ python setup.py bdist_wheel
81+
82+ pip install dist/python_libsbml-*.whl
83+
6784⁇ Getting Help
6885------------
6986
You can’t perform that action at this time.
0 commit comments