pyflakes icon indicating copy to clipboard operation
pyflakes copied to clipboard

setup.py: use setuptools instead of distutils.core

Open jtriley opened this issue 13 years ago • 3 comments

adds ability to use "python setup.py develop"

jtriley avatar Jun 23 '11 05:06 jtriley

since setuptools isn't in stdlib, do you think it's worth asking people to get it elsewhere? my goal with the released zipfile is for it to just work(tm)...I'm not that versed in Python's (current) packaging landscape. any thoughts?

kevinw avatar Jun 28 '11 05:06 kevinw

I think it makes sense to support both distutils and setuptools via a try/catch block and this seems to be what most big projects do (look at IPython for example). I can update my pull request with this, however, it seems that this change has already been incorporated in pull request 18:

https://github.com/kevinw/pyflakes/pull/18/files#diff-3

If you're planning on merging 18 then I'm more than happy to close this. Otherwise, I'll update this pull request with a try/catch block.

~Justin

jtriley avatar Jul 05 '11 13:07 jtriley

Got something working here: https://github.com/npinto/pyflakes

Still needs some clean up but it works. I'm really thinking about forking this and supporting it myself, what do you think @jtriley ?

npinto avatar Mar 13 '12 20:03 npinto