Skip to content

Commit

Permalink
Fix PyPI packaging issue
Browse files Browse the repository at this point in the history
  • Loading branch information
j3soon committed Sep 19, 2021
1 parent 80a412d commit dd9672a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/publish-to-pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: build
on:
release:
types: [published]
# workflow_run:
# workflows: ["tests"]
# branches: [master]
# types:
# - completed
jobs:
build-and-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
Expand Down Expand Up @@ -38,13 +33,7 @@ jobs:
--wheel
--outdir dist/
.
# - name: Publish distribution 📦 to Test PyPI
# uses: pypa/gh-action-pypi-publish@master
# with:
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
# if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# tbparse

[![tests](https://github.com/j3soon/tbparse/actions/workflows/test-with-tox.yaml/badge.svg?branch=master&event=push)](https://github.com/j3soon/tbparse/actions/workflows/test-with-tox.yaml)
[![build](https://github.com/j3soon/tbparse/actions/workflows/publish-to-pypi.yaml/badge.svg?branch=master&event=push)](https://github.com/j3soon/tbparse/actions/workflows/publish-to-pypi.yaml)
[![build](https://github.com/j3soon/tbparse/actions/workflows/publish-to-pypi.yaml/badge.svg)](https://github.com/j3soon/tbparse/actions/workflows/publish-to-pypi.yaml)

Read, parse, and plot tensorboard event logs with ease!

Expand Down
7 changes: 7 additions & 0 deletions docs/pages/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Change Log
===================================

v0.0.2
===================================

Fixes:

* Fix PyPI release issue

v0.0.1
===================================

Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="tbparse",
version="0.0.1",
version="0.0.2",
author="Johnson",
author_email="j3.soon@msa.hinet.net",
description="A simple parser for reading tensorboard logs",
Expand All @@ -20,8 +20,8 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
package_dir={"": "tbparse"},
packages=setuptools.find_packages(where="tbparse"),
package_dir={"": "."},
packages=setuptools.find_packages(where=".", exclude=("tests*",)),
python_requires=">=3.7",
install_requires=[
'pandas>=1.3.0',
Expand Down

0 comments on commit dd9672a

Please sign in to comment.