Update component_deps_and_reqs.markdown

This commit is contained in:
NovapaX 2018-04-19 12:08:40 +02:00 committed by GitHub
parent 41631bd881
commit f2f34e8e9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,8 @@ If you need to make changes to a requirement to support your component, it's als
* `pip install ./pychromecast`
* `hass --skip-pip`
You can also to point to a hosted package in the form of a zip-file as a requirement. GitHub provides zip-files for a specific branch, release or even a specific commit. To do that the string in `REQUIREMENTS` needs to be composed of two parts:
For testing and development purposes you can also to point to a hosted package in the form of a zip-file as a requirement. (note: components included in home-assisstant should just point to published pypi packages/versions if possible) GitHub provides zip-files for a specific branch, release or even a specific commit. To do that the string in `REQUIREMENTS` needs to be composed of two parts:
* an URL pointing to the zip-file (e.g. https://github.com/my/repo/archive/branch-x.zip) a
* a hashtag and pip-string (as described above) to declare what package and version that zipfile contains.