diff options
| -rw-r--r-- | Dockerfile | 8 | ||||
| -rw-r--r-- | pyproject.toml | 2 |
2 files changed, 3 insertions, 7 deletions
@@ -28,12 +28,8 @@ RUN chown -R ${NB_UID} ${HOME} USER ${USER} WORKDIR ${HOME} -# Download only snapshot of repository -RUN \ - curl -L https://api.github.com/repos/crocs-muni/sec-certs/tarball/main > sec-certs.tar.gz && \ - mkdir sec-certs && \ - tar zxf sec-certs.tar.gz --strip-components=1 --directory sec-certs && \ - rm sec-certs.tar.gz +# Due to setuptools_scm for versioning, we need whole repository with .git +RUN git clone https://github.com/crocs-muni/sec-certs WORKDIR ${HOME}/sec-certs diff --git a/pyproject.toml b/pyproject.toml index 6bae9df8..47c3214f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] +requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"] [tool.setuptools_scm] write_to = "sec_certs/_version.py" |
