From 834fa188e936697c1724f478e22b3b2a1c9041d1 Mon Sep 17 00:00:00 2001 From: PenutChen Date: Fri, 15 Jan 2021 00:26:44 +0800 Subject: [PATCH] Update to v0.0.2 --- mk_build.sh | 1 + run_test.py | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/mk_build.sh b/mk_build.sh index d3f9ce2..1f50dcc 100644 --- a/mk_build.sh +++ b/mk_build.sh @@ -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 diff --git a/run_test.py b/run_test.py index f8d089b..c884c29 100644 --- a/run_test.py +++ b/run_test.py @@ -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} 秒' diff --git a/setup.py b/setup.py index 0718b25..2ae6155 100644 --- a/setup.py +++ b/setup.py @@ -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.",