You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setup.py has a weird format, that is highly non-standard for a setup.py.
One does not use if __name__ == "__main__" in setup.py, because it is never imported as a module. It is always executed as a script.
Constructing the arguments to setup(...) separately in a dict is slower than just passing the arguments directly to setup(...). There is no advantage in doing it the way you do.
The text was updated successfully, but these errors were encountered:
I'm doing this for the version argument to be importable in docs/conf.py, without importing anything else that requires the execution of setup.py. The intention is to keep the version number in setup.py and docs synchronized. I'm happy to change this to anything else.
setup.py has a weird format, that is highly non-standard for a setup.py.
One does not use
if __name__ == "__main__"
in setup.py, because it is never imported as a module. It is always executed as a script.Constructing the arguments to
setup(...)
separately in a dict is slower than just passing the arguments directly tosetup(...)
. There is no advantage in doing it the way you do.The text was updated successfully, but these errors were encountered: