Skip to content

Commit

Permalink
Update ci and setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsil committed Oct 18, 2023
1 parent c049aa4 commit 6b6e501
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
if: steps.cache.outputs.cache-hit != 'true'
run: pip install build twine
- name: "Build package"
run: python setup.py clean --all bdist_wheel
run: python -m build
- name: "Publish to PyPI"
run: twine upload dist/*
env:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def read(fname):

setup(
name="Flask-ESearch",
version=find_version("src/__init__.py"),
version="0.5.0",
url="https://github.com/dymmond/flask-esearch",
long_description=read("README.md"),
long_description_content_type="text/markdown",
Expand Down
3 changes: 0 additions & 3 deletions src/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
from distutils.version import LooseVersion

__version__ = "0.5.0"
__version_info__ = tuple(LooseVersion(__version__).version)

0 comments on commit 6b6e501

Please sign in to comment.