Skip to content

Commit

Permalink
Fix pip install with new pip version. Update ubuntu docker base image
Browse files Browse the repository at this point in the history
Github issue 20 #20
  • Loading branch information
vsiivola committed Jun 6, 2024
1 parent 3e9afd3 commit 307db65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:jammy
FROM ubuntu:noble-20240530
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Berlin
RUN apt-get update -y && \
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "varikn"
dynamic = ["version"]
dynamic = ["version", "description", "authors", "license", "readme"]

[tool.setuptools_scm]
write_to = "python-wrapper/varikn/_version.py"
2 changes: 1 addition & 1 deletion python-wrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if (Python_FOUND AND SWIG_FOUND)

# swig settings
message("Python version ${Python_VERSION}")
SET(CMAKE_SWIG_FLAGS "-shadow" "-DPYTHON3" "-py3")
SET(CMAKE_SWIG_FLAGS "-shadow" "-DPYTHON3")

SET(CMAKE_SWIG_OUTDIR ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
SET_SOURCE_FILES_PROPERTIES(VariKN.i PROPERTIES CPLUSPLUS ON)
Expand Down

0 comments on commit 307db65

Please sign in to comment.