Distutils is old and basic, setuptools is the current preferred way. See https://python-packaging-user-guide.readthedocs.org/en/latest/current.html