Fix building python3.6 wheels
This commit is contained in:
parent
361cefef93
commit
c8a7e08bd2
2 changed files with 7 additions and 4 deletions
6
.github/workflows/pythonpackage.yml
vendored
6
.github/workflows/pythonpackage.yml
vendored
|
|
@ -50,9 +50,9 @@ jobs:
|
||||||
- name: Test sdist
|
- name: Test sdist
|
||||||
run: |
|
run: |
|
||||||
python -m pip install dist/sqlcipher3-wheels-*.tar.gz
|
python -m pip install dist/sqlcipher3-wheels-*.tar.gz
|
||||||
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
|
mv sqlcipher3 sqlcipher3_ &&
|
||||||
python -m unittest discover -t {project} -s test -p *.py &&
|
python -m test &&
|
||||||
mv {project}/sqlcipher3_ {project}/sqlcipher3
|
mv sqlcipher3_ sqlcipher3
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
5
setup.py
5
setup.py
|
|
@ -189,8 +189,11 @@ if __name__ == "__main__":
|
||||||
)
|
)
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
# name and version for building python 3.6 wheel
|
# With pyproject.toml, all are not necessary except ext_modules
|
||||||
|
# However, they are kept for building python 3.6 wheels
|
||||||
name="sqlcipher3-wheels",
|
name="sqlcipher3-wheels",
|
||||||
version="0.5.2.post0",
|
version="0.5.2.post0",
|
||||||
|
package_dir={"sqlcipher3-wheels": "sqlcipher3"},
|
||||||
|
packages=["sqlcipher3-wheels"],
|
||||||
ext_modules=[module],
|
ext_modules=[module],
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue