Skip to content

Commit

Permalink
python: switch to libzint backend for standard setup.py builds (pip/w…
Browse files Browse the repository at this point in the history
…heel)
  • Loading branch information
axxel committed Mar 14, 2024
1 parent 5c92485 commit f8e8a28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: true

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand Down
6 changes: 4 additions & 2 deletions wrappers/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ if (NOT hasParent)
set(CMAKE_CXX_STANDARD_REQUIRED OFF)

option (BUILD_SHARED_LIBS "Link python module to shared lib" OFF)
option (BUILD_WRITERS "Build with writer support (encoders)" ON)
option (BUILD_READERS "Build with reader support (decoders)" ON)
set(BUILD_DEPENDENCIES "AUTO")
set(BUILD_WRITERS "NEW" CACHE STRING "Build with old and/or new writer (encoder) backend (OFF/ON/OLD/NEW)")
set(BUILD_DEPENDENCIES "AUTO" CACHE STRING "Fetch from github or use locally installed (AUTO/GITHUB/LOCAL)")
option (BUILD_EXPERIMENTAL_API "Build with experimental API" ON)
option (ZXING_USE_BUNDLED_ZINT "Use the bundled libzint for barcode creation/generation" ON)

set(CORE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/core)
if(IS_SYMLINK ${CORE_PATH})
Expand Down

0 comments on commit f8e8a28

Please sign in to comment.