diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..e69de29 diff --git a/.gitignore b/.gitignore index 922aad1..6fae1ae 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ *.json *.png *.pyc +.env diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..76aed01 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM python:3.12 + +WORKDIR /usr/src/uv + +ENV PATH=/venv/bin:$PATH UV_NO_CACHE=true + +RUN : \ + && pip --no-cache-dir --disable-pip-version-check install uv \ + && uv venv --seed /venv \ + && : diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..c091a71 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +.PHONY: build-uv + +build-uv: pyproject.toml Dockerfile + docker build . -t pip-uv + +requirements.txt: build-uv + # redirect here instead of using `-o requirements.txt` to simplify the permissions on this file + docker run --rm -v $(shell pwd):/usr/src/uv pip-uv uv pip compile pyproject.toml > requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..afaaba4 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,45 @@ +# This file was autogenerated by uv via the following command: +# uv pip compile pyproject.toml +contourpy==1.2.1 + # via matplotlib +cycler==0.12.1 + # via matplotlib +fonttools==4.52.4 + # via matplotlib +kiwisolver==1.4.5 + # via matplotlib +matplotlib==3.9.0 + # via seaborn +numpy==1.26.4 + # via + # contourpy + # matplotlib + # pandas + # pyarrow + # seaborn +packaging==24.0 + # via matplotlib +pandas==2.2.2 + # via + # finances (pyproject.toml) + # seaborn +pillow==10.3.0 + # via matplotlib +polars==0.20.30 + # via finances (pyproject.toml) +pyarrow==16.1.0 + # via finances (pyproject.toml) +pyparsing==3.1.2 + # via matplotlib +python-dateutil==2.9.0.post0 + # via + # matplotlib + # pandas +pytz==2024.1 + # via pandas +seaborn==0.13.2 + # via finances (pyproject.toml) +six==1.16.0 + # via python-dateutil +tzdata==2024.1 + # via pandas