python - How do I override requirements in PBR? -


i'm trying package python code pbr (python build reasonableness). generates requirements metadata through set of conventions.

the requirement files tried in order (n being python major version number used install package):

requirements-pyn.txt

tools/pip-requires-py3

requirements.txt

tools/pip-requires

in directory, need have requirements.txt convention it's needed docker container has different set of requirements published target. want keep both docker image generation , python package building in project because have common files.

how specify requirement such requirements-pbr.txt , override fact pbr pull in requirements.txt?

after rooting through pbr source, found can change through environment variable. should it.

pbr_requirements_files="requirements-pbr.txt" python setup.py sdist 

Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -