diff --git a/README.md b/README.md index bc34e7c..0e0b28e 100644 --- a/README.md +++ b/README.md @@ -578,6 +578,16 @@ This project uses [Poetry](https://python-poetry.org/) for packaging and depende * Setup the virtual environment with `poetry install` * Run the tests with `poetry run pytest tests` +If you prefer to use Conda, run these commands from the repository root: + +```sh +conda env create --file environment.yml +conda activate chispa +poetry install +``` + +The Conda environment provides Python and Poetry; `poetry install` installs the project dependencies. Run the tests with `poetry run pytest tests`. + Studying the codebase is a great way to learn about PySpark! ## Contributing diff --git a/environment.yml b/environment.yml new file mode 100644 index 0000000..51c606b --- /dev/null +++ b/environment.yml @@ -0,0 +1,7 @@ +name: chispa +channels: + - conda-forge +dependencies: + - python=3.12 # Match your project's python version + - pip + - poetry