Closed JohnGriffiths closed 3 weeks ago
Continuation and modification of #250
Adding support for multiple installation types
This is achieved primarily via adding some additional options in the requirements and setup files
It also necessitated splitting the analysis/utils.py file into analysis/streaming_utils.py and analysis/analysis_utils.py
analysis/utils.py
analysis/streaming_utils.py
analysis/analysis_utils.py
so that e.g. an analysis-only install is not trying to do imports that are in the streaming requirements group
Further testing of each of these options is needed before merging
The instructions I'm following for this say that I can do the following pip install your_package[installtype]
pip install your_package[installtype]
since I'm usually doing
pip install -e .
for install, I believe this becomes
pip install -e .[installtype]
although I'm not entirely sure yet that this is doing what is intended
There are three install types:
pip install -e .[streaming]
pip install -e .[stimpres]
pip install -e .[docsbuild]
Use cases for these options include:
wxpython
etc etc
And additionally, note - the way to recover the previous functionality of
with this new configuration will be to do
pip install -e .[full]
Continuation and modification of #250
Adding support for multiple installation types
This is achieved primarily via adding some additional options in the requirements and setup files
It also necessitated splitting the
analysis/utils.py
file intoanalysis/streaming_utils.py
andanalysis/analysis_utils.py
so that e.g. an analysis-only install is not trying to do imports that are in the streaming requirements group
Further testing of each of these options is needed before merging
The instructions I'm following for this say that I can do the following
pip install your_package[installtype]
since I'm usually doing
pip install -e .
for install, I believe this becomes
pip install -e .[installtype]
although I'm not entirely sure yet that this is doing what is intended
There are three install types:
pip install -e .
)pip install -e .[streaming]
)pip install -e .[stimpres]
)pip install -e .[docsbuild]
)Use cases for these options include:
wxpython
)etc etc