[Distutils] depending on setuptools is discouraged?

Michael Merickel me at m.merickel.org
Thu Oct 23 22:23:28 CEST 2014

I'm noticing a trend that depending on setuptools is discouraged[1] in
the install_requires of your setup.py. However, some packages like
pyramid have core features that depend on pkg_resources (which is part
of setuptools). Thus, we depend on it. As I've monitored distutils-sig
I haven't seen any talk of separating these packages. To me, requiring
the use of pkg_resources is a very valid use-case for depending on
setuptools as it provides many improvements over the basic
`pkgutil.get_data` API.

Since I'm not aware of a workaround for this problem, and I'm seeing
setuptools be categorically discouraged, perhaps I am just unaware and
need to be enlightened?


[1] https://mail.python.org/pipermail/distutils-sig/2014-October/025131.html

More information about the Distutils-SIG mailing list