Skip to content

Commit

Permalink
Update to v0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
penut85420 committed Jan 14, 2021
1 parent 636dad2 commit 834fa18
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions mk_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# 1. Delete all the file in dist if exists.
# 2. Build dist by `python setup.py sdist bdist_wheel`.
# 3. Upload by `twine upload dist/*`.
# Note: Login with username not email.

# python -m pip install -U setuptools wheel twine
rm -rf build dist penut_utils.egg-info
Expand Down
4 changes: 2 additions & 2 deletions run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ def test_walk_dir(self):
def test_td2s(self):
from penut import td2s
import datetime as dt
a = dt.datetime(2021, 1, 6, 11, 32, 23)
b = dt.datetime(2021, 1, 7, 12, 38, 17)
a = dt.datetime(2021, 1, 6, 0, 0, 0)
b = dt.datetime(2021, 1, 6, 1, 2, 3)
d = b - a
print(td2s(d))
fmt = lambda h, m, s: f'{h} 小時 {m}{s} 秒'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name="penut",
version="0.0.1",
version="0.0.2",
author="PenutChen",
author_email="penut85420@gmail.com",
description="This is a collection of my useful functions.",
Expand Down

0 comments on commit 834fa18

Please sign in to comment.