Skip to content

Commit

Permalink
Separate 'sdist' and 'bdist_wheel'
Browse files Browse the repository at this point in the history
  • Loading branch information
iwasakishuto committed Jul 19, 2020
1 parent 5d919ac commit 88fb5b6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/upload_python_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@ jobs:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python setup.py sdist
python setup.py bdist_wheel
twine upload dist/*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ PyforDocs
dist/
MANIFEST
kerasy.egg-info/
build/

# wheel
wheels/
Expand Down
2 changes: 1 addition & 1 deletion kerasy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import sys

__copyright__ = "Copyright (C) 2020 Shuto Iwasaki"
__version__ = "0.7.1"
__version__ = "0.7.2"

__license__ = "MIT"
__author__ = "Shuto Iwasaki"
Expand Down
2 changes: 1 addition & 1 deletion kerasy/clib/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def configuration(parent_package='', top_path=None):
p = Path(CLIB_ABS_PATH)
for abs_prog_path in p.glob("*.pyx"):
fn = abs_prog_path.name # hoge.pyx
*name, ext = fn.split(".")
*name, _ = fn.split(".")
name = ".".join(name) # hoge
config.add_extension(
name=name,
Expand Down

0 comments on commit 88fb5b6

Please sign in to comment.