mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-18 15:57:13 +02:00
documentation about installation and python getting started (#582)
* updated installation documention, added Python find virtual env flag
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user