verejoel / python-env

Blank environment setup for Python projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

Guidance given for MacOS and Homebrew - install homebrew if you don't already have it. For other systems, consult the installation guides for Pyenv and Direnv.

See here for more on managing Python with Pyenv and Direnv.

Start by cloning this repo and working in the repo base directory.

  1. Install Pyenv and Direnv.
brew install pyenv
brew install direnv
  1. Get the latest version of Python 3.8.
pyenv install 3.8.3
  1. Set the local Python version.
pyenv local 3.8.3
  1. Activate direnv.
direnv allow
  1. Install Python dependencies.
pip install -r requirements.txt

This will setup your environment with the correct Python version and package dependencies.

About

Blank environment setup for Python projects

License:MIT License