Python's import situation has driven me to the brink of imsanity
sivan at vitakka.co
Wed Feb 10 14:05:49 EST 2016
not entirely on-topic here, but is distutils still being in active use "in
the wild" ?
On Wed, Feb 10, 2016 at 2:31 AM, Oscar Benjamin <oscar.j.benjamin at gmail.com>
> On 8 February 2016 at 00:38, <dimva13 at gmail.com> wrote:
> > Running python setup.py develop doesn't work, it gives me this error:
> error: invalid command 'develop'
> This is presumably because your setup.py script uses distutils rather
> than setuptools: distutils doesn't have the develop command.
> > Running pip install -e . does work.
> That's because pip "injects setuptools" so that when you import
> distutils in your setup.py your actually importing a monkey-patched
> setuptools. You may as well import setuptools in your setup.py but
> either way the recommended invocation is "pip install -e .".
Co founder & CTO
More information about the Python-list