4 ms·
Find the "just right" packaging system will get someone nerdsniped, you can do that. Or you can do the commands below and get something running in 20 seconds us
by nerpderp82 3y ago
Find the "just right" packaging system will get someone nerdsniped, you can do that. Or you can do the commands below and get something running in 20 seconds using the built in tools. Nerdsnipe yourself later as an exercise.
python -m venv myenv.env
source myenv.env/bin/activate
pip install -U pip setuptools wheel
pip install ipython
ipython<return> now repl away!
- gjvc 3y agothe ".venv/bin/activate" script is rarely useful outside blog posts. Instead, just have a "bin/run-main" script set PYTHONPATH to point to the source files in your project, then call '.venv/bin/python3 src/python/some/where/file/name.py "${@}"' to run it. YMMV. HAND. IANAL.