setup.py(パッケージングしよう)
#パッケージングして配布する
以下だけでよい
メタデータの記載はsetup.cfg(パッケージングしよう)へ
To avoid executing arbitrary scripts and boilerplate code,
https://setuptools.pypa.io/en/latest/userguide/quickstart.html#transitioning-from-setup-py-to-setup-cfg
code:setup.py
from setuptools import setup
setup()
実装としてはdistutils.core.setupを呼び出す
https://github.com/pypa/setuptools/blob/v60.5.0/setuptools/__init__.py#L151-L155
distutilsは標準ライブラリ