(Jun-04-2023, 06:55 AM)LandonJPGinn Wrote: Any recommendations? Is venv and poetry the only options? Are there any rust based venv tools (not rustenv, but a pipenv equivalent written in rust)Rye look promising.
I have tested it out and really like decision that Armin Ronacher has made.
Look at Philosophy and Vision.
Quote:
No System Python
: I can't deal with any more linux distribution weird Python installations or whatever mess there is on macOS.
I used to build my own Pythons that are the same everywhere, now I use indygreg's Python builds.
Rye will automatically download and manage Python builds from there.
No compiling, no divergence.
- No Default Dependencies: the virtualenvs when they come up are completely void of dependencies.
Not even pip or setuptools are installed into it. Rye manages the virtualenv from outside the virtualenv.
- Project Local Shims: Rye maintains a python shim that auto discovers the current
pyproject.toml
and automatically operates below it.
Just add the shims to your shell and you can run python and it will automatically always operate in the right project.
For small stuff i just use venv as is build into Python.
Poetry is the ok,and if want to make package distribute to PyPi it dos a lot of the ground work for you.
For larger stuff like eg ML,AI stuff that can install i have seens up to 100 packages(should not try to install that on default OS Python).
Then is Conda is good and use it trough Miniconda.
So
Conda
can build a environment with complete Python/pip version,as eg Rye do. So eg this command will install complete Python 3.10.8 with pip and othert stuff like eg Editor(Spyder) and Jupyterlab to own environment.
conda create --name myenv conda jupyterlab pandas spyder python=3.10.8