diff --git a/Dockerfile b/Dockerfile index 493882e..3a521bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,7 @@ RUN apk --update add libgcc ENV PACKAGES="gcc musl-dev python3-dev libffi-dev openssl-dev cargo" RUN apk --update add $PACKAGES \ - && pip install --upgrade pip setuptools-rust \ - && python setup.py install \ + && python -m pip install .\ && apk del --purge $PACKAGES ENTRYPOINT ["/usr/local/bin/gimme-aws-creds"] diff --git a/README.md b/README.md index 40049ed..79d8dd5 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ __OR__ Install the gimme-aws-creds package if you have already cloned the source: ```bash -python3 setup.py install +python -m pip install . ``` __OR__ diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..223b5c0 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools", "setuptools-rust", "gimme_aws_creds"] +build-backend = "setuptools.build_meta"