Why use str constants with setuptools?
When we use setuptools for packaging our Python library, why write like this?
setup(
name='mymodule',
version='0.1',
)
not this? import mymodule
setup(
name=mymodule.__name__,
version=mymodule.__version__,
)
Please answer.
0 comments
[ 2.9 ms ] story [ 12.6 ms ] threadNo comments yet.