Skip to content

Commit

Permalink
chore(ci): update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
elhoangvu committed Apr 16, 2024
1 parent 80de3cc commit ed7d228
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
pip install --upgrade setuptools
- name: Build package
run: python -m build
run: python setup.py sdist --dist-dir dist
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
Expand Down
10 changes: 0 additions & 10 deletions pyproject.toml

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
author=about["__author__"],
author_email=about["__author_email__"],
url=about["__url__"],
packages=["dictrule"],
packages=["dictrule", "dictrule/built_in_rules"],
package_data={"": ["LICENSE", "NOTICE"]},
package_dir={"": "src"},
include_package_data=True,
Expand Down

0 comments on commit ed7d228

Please sign in to comment.