From d4bf8a9a3bdd4901c9f295e223a8710f7533236f Mon Sep 17 00:00:00 2001 From: stonebig Date: Thu, 5 Jun 2025 21:25:17 +0200 Subject: [PATCH] move hash.py in winpython --- hash_launch.bat | 6 ++++-- hash.py => winpython/hash.py | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) rename hash.py => winpython/hash.py (96%) diff --git a/hash_launch.bat b/hash_launch.bat index 714925a4..623765d7 100644 --- a/hash_launch.bat +++ b/hash_launch.bat @@ -1,8 +1,10 @@ -call C:\WPy64-3890\scripts\env.bat +call C:\WinPdev\WPy64-310111\scripts\env.bat cd %~dp0 rem echo %date% %time%>>gdc_counting.txt -python hash.py %* >>hash_counting_%date:/=_%.txt +python -c "import sys;from winpython import hash; hash.print_hashes(sys.argv[1:])" %* >>hash_counting_%date:/=_%.txt +rem python hash.py %* >>hash_counting_%date:/=_%.txt start notepad.exe hash_counting_%date:/=_%.txt + \ No newline at end of file diff --git a/hash.py b/winpython/hash.py similarity index 96% rename from hash.py rename to winpython/hash.py index d16bff0a..e0bdd46a 100644 --- a/hash.py +++ b/winpython/hash.py @@ -1,6 +1,7 @@ # -*- coding: utf-8 -*- -# -# WinPython hash.py script +""" +hash.py: compute hash of given files into a markdown output +""" # Copyright © 2014-2025+ The Winpython development team https://github.com/winpython/ # Licensed under the terms of the MIT License # (see winpython/__init__.py for details)