Skip to content

Commit dd9672a

Browse files
committed
Fix PyPI packaging issue
1 parent 80a412d commit dd9672a

File tree

4 files changed

+11
-15
lines changed

4 files changed

+11
-15
lines changed

.github/workflows/publish-to-pypi.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ name: build
22
on:
33
release:
44
types: [published]
5-
# workflow_run:
6-
# workflows: ["tests"]
7-
# branches: [master]
8-
# types:
9-
# - completed
105
jobs:
116
build-and-publish:
127
name: Build and publish Python 🐍 distributions 📦 to PyPI
@@ -38,13 +33,7 @@ jobs:
3833
--wheel
3934
--outdir dist/
4035
.
41-
# - name: Publish distribution 📦 to Test PyPI
42-
# uses: pypa/gh-action-pypi-publish@master
43-
# with:
44-
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
45-
# repository_url: https://test.pypi.org/legacy/
4636
- name: Publish distribution 📦 to PyPI
47-
# if: startsWith(github.ref, 'refs/tags')
4837
uses: pypa/gh-action-pypi-publish@master
4938
with:
5039
password: ${{ secrets.PYPI_API_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# tbparse
22

33
[![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)
4-
[![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)
4+
[![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)
55

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

docs/pages/changelog.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
Change Log
33
===================================
44

5+
v0.0.2
6+
===================================
7+
8+
Fixes:
9+
10+
* Fix PyPI release issue
11+
512
v0.0.1
613
===================================
714

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="tbparse",
8-
version="0.0.1",
8+
version="0.0.2",
99
author="Johnson",
1010
author_email="[email protected]",
1111
description="A simple parser for reading tensorboard logs",
@@ -20,8 +20,8 @@
2020
"License :: OSI Approved :: MIT License",
2121
"Operating System :: OS Independent",
2222
],
23-
package_dir={"": "tbparse"},
24-
packages=setuptools.find_packages(where="tbparse"),
23+
package_dir={"": "."},
24+
packages=setuptools.find_packages(where=".", exclude=("tests*",)),
2525
python_requires=">=3.7",
2626
install_requires=[
2727
'pandas>=1.3.0',

0 commit comments

Comments
 (0)