Closed jaeseopark closed 5 years ago
__main__
back into the main script.execute()
since it's basically a wrapper.@jaeseopark Please add me as the owner of the package (https://pypi.org/user/AlexAplin/).
Thanks for the reminder. I added you.
Do you know how to transfer the ownership entirely? I never intended to be an owner of this project.
Thanks, I went ahead and removed you.
Converted
nndownload
into a python module.The standalone mode continues to work as it currently does. no changes there.
It's probably very hard to see what parts of the code changed, because diff in Git is all red and green. Here is a better view of what has changed exactly.
summary:
logger
is initialized and used. This is to allownndownload
to inherit any log configurations from the caller-module.main()
no longer callssys.exit()
when an exception is thrown. Instead, it simply bubbles the exception up, so theexcept
block of the caller-module can do the rest.I put the pypi badge in the README but haven't actually uploaded the package to pypi. It's on TestPyPi, though.