Closed RonnyPfannschmidt closed 4 years ago
The hub already supports this. For example, if I create a file named customkeywords.py
in a folder, put that folder on PYTHONPATH, and then give the name customkeywords
to the hub, it will find the keywords
$ export PYTHONPATH=/tmp
...
$ python -m rfhub customkeywords
i'm talking about *.robot files, not python modules, python modules already wok fabulous
basially we have a structure that looks like:
ourlib/__init__.py # python keywords
ourlib/resources/common/foo_control.robot # robot keywords in text fomrat that are shared
....
We have .txt resource files and as long as they are specified correctly, the hub finds all keywords fine.
closing to get if off my plate on github
at work we ship common ressources together with a python library, however the hub doesnt support listing those