Closed bonicim closed 1 year ago
Able to reproduce the quick-start at Ubuntu 22.04 with Python 3.10. See the following desirable logs.
However, couldn't reproduce the quick-start at Ubuntu 22.04 with Python 3.8.
utils/vtn.py
script, so that users do not have to git clone the source code in quick-start.
@kefeimo That makes total sense regarding making an entry-point for this toy vtn. I looked into how to do it using pyproject.toml under the Poetry framework; it was not as hard as I thought. In pyproject.toml, the equivalent of what you have in setup.py is the following:
packages = [
{ include = "openadr_ven", from = "src" },
{ include = "utils" },
]
[tool.poetry.scripts]
volttron-openadr-ven = "openadr_ven.agent:main"
vtn-demo = 'utils.vtn.__main__:main'
I actually tested this out and it works! I will create a separate PR that will add this functionality.
For Ubuntu20.04 logs (connection established but didn't observe the desired message)
and in volttron.log