Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for requirements.txt #349

Merged
merged 1 commit into from
Oct 17, 2022
Merged

support for requirements.txt #349

merged 1 commit into from
Oct 17, 2022

Conversation

daimor
Copy link
Collaborator

@daimor daimor commented Oct 8, 2022

Added check for existing file requirements.txt at the root of module, and if exists tries to install dependencies from it with pip command, only for load and install commands

resolves #307

Existing module for testing python-faker

USER>zpm "install python-faker"

[USER|python-faker]     Reload START (/usr/irissys/mgr/.modules/USER/python-faker/0.0.2/)
[USER|python-faker]     requirements.txt START
[USER|python-faker]     requirements.txt SUCCESS
[USER|python-faker]     Reload SUCCESS
[python-faker]  Module object refreshed.
[USER|python-faker]     Validate START
[USER|python-faker]     Validate SUCCESS
[USER|python-faker]     Compile START
[USER|python-faker]     Compile SUCCESS
[USER|python-faker]     Activate START
[USER|python-faker]     Configure START
[USER|python-faker]     Configure SUCCESS
[USER|python-faker]     Activate SUCCESS

@daimor daimor merged commit 913ab60 into master Oct 17, 2022
@daimor daimor deleted the python-requirements branch October 17, 2022 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python and libraries install using zpm
1 participant