diff options
| author | adamjanovsky | 2022-05-27 15:22:52 +0200 |
|---|---|---|
| committer | GitHub | 2022-05-27 15:22:52 +0200 |
| commit | f29d641d54a5b18ee85674266c57384c0b6a9d3a (patch) | |
| tree | 44fa99e6d21ccc0b125cfc6eb705f08fa930a0df | |
| parent | 3f7077f42eac61c6f94211a29c6c984f9d7f79cd (diff) | |
| parent | 8e45d7d9084685be3c1f1a56e805a84ecd8fd763 (diff) | |
| download | sec-certs-0.0.7.tar.gz sec-certs-0.0.7.tar.zst sec-certs-0.0.7.zip | |
Merge pull request #218 from crocs-muni/issue/216-Binder-Fix-build0.0.7
Issue/216 binder fix build
| -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" |
