From 6e3730944d7c34849c81c187ef893e9d0b6632e3 Mon Sep 17 00:00:00 2001 From: Alexander Fischer Date: Thu, 13 Jun 2024 20:48:22 +0200 Subject: [PATCH 1/2] add info on poetry installation --- docs/contributing.qmd | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/contributing.qmd b/docs/contributing.qmd index 68161a79..97e021a8 100644 --- a/docs/contributing.qmd +++ b/docs/contributing.qmd @@ -119,6 +119,26 @@ scoop bucket add extras scoop install extras/quarto ``` +### Package Management + +`PyFixest` is using [poetry](https://github.com/python-poetry/poetry). + +Please follow the [installation instructions](https://python-poetry.org/docs/#installing-with-the-official-installer) from the poetry documentation. + +Afterwards, you can initiate the project environment and install all dependencies by running + +```{bash} +cd path-to-pyfixest +poetry install +``` + +If you type +```{bash} +poetry shell +``` + +you will see that you have activated a custom poetry environment for pyfixest. + ### Code Style We use `ruff` and `pre-commit` to ensure a consistent code style. From ad37818b08db7e6852b017c089907517db7106b3 Mon Sep 17 00:00:00 2001 From: Alexander Fischer Date: Thu, 13 Jun 2024 20:49:21 +0200 Subject: [PATCH 2/2] add details on just --- docs/contributing.qmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/contributing.qmd b/docs/contributing.qmd index 97e021a8..b4ad2330 100644 --- a/docs/contributing.qmd +++ b/docs/contributing.qmd @@ -161,7 +161,8 @@ and you're ready to go! There are several command line targets that assist with development included in the `justfile`. [Just](https://just.systems/) can be installed to help run these -command line targets. +command line targets. Installing `just` is only recommended and not needed for +development of pyfixest. On Mac/Linux via [Homebrew](https://formulae.brew.sh/formula/just#default):