You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository could benefit from being a Python package using setup.py or pyproject.toml.
This way when following the directions on the main README, there could be one extra step to install the package, e.g.
pip install -e /location/of/api-samples
Then the samples could be run pretty seamlessly, and modified in-place with key changes, etc. As it is when trying to run the sample net_device_signal_samples.py I had to manually modify the PYTHONPATH so that the internally-defined monitoring.utils.session package could be correctly imported by Python within the virtual environment.
I could supply a PR if this idea seems good. It's not a big deal, would just make quick operation of the samples a little easier and quicker.
The text was updated successfully, but these errors were encountered:
This repository could benefit from being a Python package using
setup.py
orpyproject.toml
.This way when following the directions on the main README, there could be one extra step to install the package, e.g.
pip install -e /location/of/api-samples
Then the samples could be run pretty seamlessly, and modified in-place with key changes, etc. As it is when trying to run the sample
net_device_signal_samples.py
I had to manually modify the PYTHONPATH so that the internally-definedmonitoring.utils.session
package could be correctly imported by Python within the virtual environment.I could supply a PR if this idea seems good. It's not a big deal, would just make quick operation of the samples a little easier and quicker.
The text was updated successfully, but these errors were encountered: