-
Notifications
You must be signed in to change notification settings - Fork 58
Install packages from local pypi server #698
-
Is it at all possible to install packages from a custom pypi server address?
I want to install a python package from a pypi server running in my local network. I have added the server's address into the pip.conf of my homeassistant installation and using pip install [package name]
works fine on the command line. However addint [package name]
to the requirements.txt file in the config/pyscript directory always results in an error" homeassistant.requirements.RequirementsNotFound: Requirements for pyscript not found: ['my_custom_package'].
Is there a way to add my own pypi server to the list of URLs pyscript checks against when finding packages to install?
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
This might help a bit :
https://pip.pypa.io/en/stable/reference/requirements-file-format
though that is more installing from https or git rather than a pypy repo
Beta Was this translation helpful? Give feedback.