Skip to content

Repository could benefit from being a Python package. #46

@gregtkogut

Description

@gregtkogut

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions