Skip to content

Commit

Permalink
Update publish method
Browse files Browse the repository at this point in the history
  • Loading branch information
remi-braun committed Jul 19, 2023
1 parent bc83f72 commit d86d329
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Build a binary wheel and a source tarball
run: |
python -m pip install setuptools wheel methodtools .
python -m pip install setuptools wheel methodtools
python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
10 changes: 7 additions & 3 deletions eosets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@

__all__ = ["Mosaic", "Pair", "Series"]

from .mosaic import Mosaic
from .pair import Pair
from .series import Series
try:
from .mosaic import Mosaic
from .pair import Pair
from .series import Series
except (ModuleNotFoundError, ImportError):
# Don't fail for check with empty environment
pass

0 comments on commit d86d329

Please sign in to comment.