Skip to content

Add python venv builder#30

Draft
aaronbog wants to merge 6 commits intoapaolillo:mainfrom
aaronbog:pvenv_builder
Draft

Add python venv builder#30
aaronbog wants to merge 6 commits intoapaolillo:mainfrom
aaronbog:pvenv_builder

Conversation

@aaronbog
Copy link
Contributor

This adds a builder that will create a .cvenv in the libraries folder.
Example usage:

builder |= pyvenv_builder(
        requirements_file_path= Path("./requirements.txt"),
        deps_folders= [Path("./deps/torta")],
        single_packages= ['pandas', 'matplotlib', 'seaborn', 'numpy']
    )

It also adds the cvenv bin folder to the path.
Allowing the command . activate
to start the Python venv.

This requires PR #28 to copy the deps_folders
and the requirement.txt file

Signed-off-by: Bogaert Aaron <aaron.bogaert@hotmail.com>
@apaolillo apaolillo marked this pull request as draft December 11, 2025 18:37
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.

1 participant