srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/languages
diff options
context:
space:
mode:
Diffstat (limited to 'languages')
-rw-r--r--languages/python.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/languages/python.md b/languages/python.md
index e69de29..2b38171 100644
--- a/languages/python.md
+++ b/languages/python.md
@@ -0,0 +1,18 @@
+
+Planning to develop some python application or python package your best option is use virtual environments.
+Try virtualenv or even conda
+
+Use poetry much better option to manage application from start to finish. It is a much better option than requirements.txt + setup.py.
+
+
+Another more simple option is use python-virtualenv. This can bring portability to the code and maintain old packages as well. Install it with
+
+sudo pacman -S python-virtualenv
+
+and then do this
+
+virtualenv -p /usr/bin/python3 yourenv
+source yourenv/bin/activate
+pip install package-name
+
+When you create this environment yourenv, you will setup pip to install packages only into this environment, not to the entire system.