Skip to content

Commit

Permalink
Update Python binding
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed May 12, 2024
1 parent 506d7a3 commit 2f1d184
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,6 @@ jobs:
with:
python-version: '3.11'

- name: Debug
run: |
ls -la
ls -la bindings/py
- name: Build wheels
uses: pypa/[email protected]
with:
Expand Down
1 change: 1 addition & 0 deletions bindings/py/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ include minify.go go.mod go.sum
include src/minify/minify.so
include build_minify.py
include py.typed
include pyproject.toml
3 changes: 3 additions & 0 deletions bindings/py/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=42", "cffi>=1.0.0"]
build-backend = "setuptools.build_meta"
1 change: 0 additions & 1 deletion bindings/py/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def build_extension(self, ext: Extension):
packages=["minify"],
package_dir={"": "src"},
include_package_data=True,
setup_requires=["cffi>=1.0.0"],
cffi_modules=["build_minify.py:ffi"],
install_requires=["cffi>=1.0.0"],
zip_safe=False,
Expand Down

0 comments on commit 2f1d184

Please sign in to comment.