Fix building
This commit is contained in:
parent
097b80be2e
commit
bb2d35ec0c
2 changed files with 5 additions and 2 deletions
5
.github/workflows/pythonpackage.yml
vendored
5
.github/workflows/pythonpackage.yml
vendored
|
|
@ -46,9 +46,10 @@ jobs:
|
||||||
|
|
||||||
- name: Build sdist
|
- name: Build sdist
|
||||||
run: pipx run build --sdist
|
run: pipx run build --sdist
|
||||||
|
|
||||||
- name: Test sdist
|
- name: Test sdist
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt install -y perl
|
||||||
python -m pip install dist/sqlcipher3_wheels-*.tar.gz
|
python -m pip install dist/sqlcipher3_wheels-*.tar.gz
|
||||||
mv sqlcipher3 sqlcipher3_ &&
|
mv sqlcipher3 sqlcipher3_ &&
|
||||||
mv sqlcipher3_ sqlcipher3
|
mv sqlcipher3_ sqlcipher3
|
||||||
|
|
@ -197,7 +198,7 @@ jobs:
|
||||||
CIBW_BUILD: ${{ matrix.cibw_build }}
|
CIBW_BUILD: ${{ matrix.cibw_build }}
|
||||||
CIBW_ARCHS: ${{ matrix.cibw_archs }}
|
CIBW_ARCHS: ${{ matrix.cibw_archs }}
|
||||||
CIBW_ENVIRONMENT: SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
CIBW_ENVIRONMENT: SQLCIPHER3_COMPILE_TARGET=${{ matrix.compile_target }}
|
||||||
CIBW_BEFORE_ALL_LINUX: yum install -y perl-IPC-Cmd
|
CIBW_BEFORE_ALL_LINUX: yum install -y perl-core
|
||||||
CIBW_TEST_COMMAND: >
|
CIBW_TEST_COMMAND: >
|
||||||
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
||||||
python {project}/tests/ &&
|
python {project}/tests/ &&
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -132,6 +132,8 @@ if __name__ == "__main__":
|
||||||
# Required for SQLCipher.
|
# Required for SQLCipher.
|
||||||
("SQLITE_HAS_CODEC", "1"),
|
("SQLITE_HAS_CODEC", "1"),
|
||||||
("SQLITE_TEMP_STORE", "2"),
|
("SQLITE_TEMP_STORE", "2"),
|
||||||
|
("SQLITE_EXTRA_INIT", "sqlcipher_extra_init"),
|
||||||
|
("SQLITE_EXTRA_SHUTDOWN", "sqlcipher_extra_shutdown"),
|
||||||
# Increase the maximum number of "host parameters".
|
# Increase the maximum number of "host parameters".
|
||||||
("SQLITE_MAX_VARIABLE_NUMBER", "250000"),
|
("SQLITE_MAX_VARIABLE_NUMBER", "250000"),
|
||||||
# Additional nice-to-have.
|
# Additional nice-to-have.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue