Closed nfarrar closed 9 years ago
Don't have a solution for you, but an alternative…
I switched from Paver to Invoke, for the very reason it wraps and takes over setuptools – this just breaks too often, and paver-minilib is a general pain. See http://springerle.github.io/py-generic-project/ for a fully integrated example, including a Click __main__
stub.
Could you post the slew of errors you're getting?
Since alternatives allegedly work, I strongly suspect this to be a paver issue though.
Out of the scope for this, if you care about that, I would propose to create a separate package.
I was looking for a pure-python alternative to my makefile (which does some system-level initialization necessary for the package), and stumbled across paver. It wraps setuptools and offers makefile style syntax in setup.py.
I attempted to try it out with click (just to see if it would work) by this setup.py (which works with setuptools):
... and installing in the virtual environment with:
Which (when used with regular setuptools) makes the crib command available in the virtual environment and runs correctly.
While running this with paver didn't generate any errors, attempting to run my command generates a whole slew of errors - and
python setup.py develop -u
won't uninstall the command that was installed.Googling around for
python click paver
, I'm not finding any information - and searching bothclick
in the paver repo andpaver
in the click repo turn up nothing.So - just curious, should this work? If not, any chance support might happen in the future?