From 266a54c1089ce6f1e6f060f052135b0706c17dbc Mon Sep 17 00:00:00 2001 From: Terje Sandstrom Date: Fri, 6 Dec 2019 15:50:48 +0100 Subject: [PATCH] fixed path and added cmd for build and upload --- build.cmd | 1 + listgits/listgits.py | 2 +- setup.py | 2 +- upload.cmd | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 build.cmd create mode 100644 upload.cmd diff --git a/build.cmd b/build.cmd new file mode 100644 index 0000000..2f1a53d --- /dev/null +++ b/build.cmd @@ -0,0 +1 @@ +python setup.py sdist bdist_wheel diff --git a/listgits/listgits.py b/listgits/listgits.py index ac7a406..7827f18 100644 --- a/listgits/listgits.py +++ b/listgits/listgits.py @@ -44,7 +44,7 @@ def listgits(cwd,level,short,local,remotes,isSearch,gitoptions,results): results.append((fulldir,stdout)) else: if not short and not isSearch: - print('Folder only: '+ spc+root) + print('Folder only: '+ spc+root+'/'+dir) listgits(root,level,short,local,remotes,isSearch,gitoptions,results) os.chdir(root) diff --git a/setup.py b/setup.py index b4ad71f..206c37e 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="listgits", - version="0.6.2", + version="0.6.4", author="Terje Sandstrom", author_email="terje@hermit.no", description="Python command line program for listing git repositories under a folder root", diff --git a/upload.cmd b/upload.cmd new file mode 100644 index 0000000..24ad55a --- /dev/null +++ b/upload.cmd @@ -0,0 +1 @@ +python -m twine upload dist/*