documentation about installation and python getting started (#582)

* updated installation documention, added Python find virtual env flag
This commit is contained in:
Dhanya Thattil
2022-11-23 12:04:45 +01:00
committed by GitHub
parent 911b2f678f
commit cd270160d8
3 changed files with 125 additions and 78 deletions

View File

@ -14,25 +14,10 @@ also for non Python packages but there are also other alternatives like, pyenv.
Using something like conda also allows you to quickly switch beteen different Python
environments.
.. warning ::
.. note ::
If you use conda avoid also installing packages with pip.
---------------------
PYBIND11
---------------------
**v7.0.0 of slsDetectorPackage:**
#. It is packaged into libs (pybind)
#. No longer a submodule of the slsDetectorPackage
**Older than v7.0.0:**
#. Submodule in libs (pybind11)
#. Switching between versions will require an update of the submodule as well using:
.. code-block:: bash
git submodule update --init #from the main slsDetectorPackage folder
Ensure that the python lib compiled is for the expected python version.
For example, build/bin/_slsdet.cpython-39-x86_64-linux-gnu.so for Python v3.9.x
---------------------
PYTHONPATH