Skip to content

Commit

Permalink
PyPi release script: fix wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
monperrus committed May 18, 2024
1 parent 60545f2 commit af575b9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
with:
python-version: '3.x'
- run: pip install build
- run: python -m build --sdist
- run: python -m build --wheel
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1.8
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ authors = [

readme = "README.md"

[tool.setuptools.packages.find]
where = [ "." ]
[tool.setuptools]
package-dir = {"crawleruseragents" = "."}

[tool.setuptools.package-data]
"*" = ["*.json"]

0 comments on commit af575b9

Please sign in to comment.