Python Project Layout: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 4: Line 4:
=Setting a Manual Project=
=Setting a Manual Project=
<font size=-1>
<font size=-1>
  .
.
├── .gitignore
  ├── requirements.txt
  ├── requirements.txt
  ├── src
  ├── src

Revision as of 00:22, 18 February 2022

Internal

Setting a Manual Project

.
├── .gitignore
├── requirements.txt
├── src
│    └── main
│         └── python 
└── venv
     ├── bin

python3 -m venv venv
venv/bin/pip install -r requirements.txt

Also see:

Virtual Environment

Organizatorium

  • /Users/ovidiu/Library/Python/3.8/bin/ must be in PATH.
  • Python environments on Mac:
    • ~/Library/ApplicationSupport/iTerm2/iterm2env/versions/*/bin/python3
    • ~/Library/ApplicationSupport/iTerm2/Scripts/YourScript/iterm2env/versions/*/bin/python3