Skip to content

Oly-fashion/oly-pythonlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

Python libraries for the Oly Application

Tooling Setup for Local Development

All instructions are for MacOS

You will need

  • Brew
  • Python 3.11
  • Poetry

Install Brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Pyenv

brew install pyenv

Install Python 3.11

pyenv install 3.11

Install Poetry

Set your python version before you install poetry

pyenv shell 3.11

Install Poetry

pip install poetry

Install Pre-commit

brew install pre-commit

Install Project

Initialize python environment

You will run these two commands every time you open a new shell environment for this project. The commands must be run in the project's root directory.

pyenv shell 3.11
poetry shell

Install project dependencies

poetry install --sync --with=dev

Setup Pre-commit

pre-commit install

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages