Skip to content

[Question]: Poetry or Still pip? #122

@hadialqattan

Description

@hadialqattan

Description

I wonder if this is still useful or it should be replaced with a poetry command

function python_venv {
pip install virtualenv -q || pip3 install virtualenv -q
python -m venv .venv > /dev/null 2>&1 || python3 -m venv .venv > /dev/null 2>&1
source .venv/bin/activate
pip install -r requirements.txt -q || pip3 install -r requirements.txt -q
deactivate
green "Python virtual environment created and packages installed."
yellow "Type \`source .venv/bin/activate\` to activate the environment and \`deactivate\` to deactivate it."
}

Steps to reproduce

null

Screenshots and recordings

No response

Source

Source Code

Auto Registrar Version

null

Python Version

null

OS Platform or Distribution

null

Additional context

No response

Code of Conduct

  • I agree to follow the Auto Registrar Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions