4 ms·
setuptools? distutils you mean? I much prefer fpm for creating Linux distro packaged from a python distribution, since it can create debs.
by falsedan 11y ago
setuptools? distutils you mean?
I much prefer fpm for creating Linux distro packaged from a python distribution, since it can create debs.
- snuxoll 11y agoNo, I mean setuptools - it does everything distutils does but better. I don't trust random scripts to generate packages for me, writing an rpmspec or a debian control file is hardly a challenge and I'd encourage more people to take the 5 minutes to do so than relying on tools like FPM.
- falsedan 11y ago… or tools like setuptools? Also, I assume you're talking about the bdist_rpm target that come from distutils.
- snuxoll 11y agoNo, I write a proper RPM spec file - only takes a few minutes.
- falsedan 11y agoSo, what's the added bonus of using setuptools then?
- snuxoll 11y agosetuptools is just less generally crufty than distutils, and things like entrypoints make writing installable console scripts feasible. Since it provides essentially the same interface the default rpmspec created by rpmdev-newspec works with it out of the box.