Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #102769

Re: Python's import situation has driven me to the brink of imsanity

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Sivan Greenberg <sivan@vitakka.co>
Newsgroups comp.lang.python
Subject Re: Python's import situation has driven me to the brink of imsanity
Date Wed, 10 Feb 2016 21:05:49 +0200
Lines 34
Message-ID <mailman.18.1455131158.22075.python-list@python.org> (permalink)
References <e324ce71-1f90-4727-b7e8-eaa13c4ecc08@googlegroups.com> <CAPTjJmr6771LUFCa5fNwUkLwfBzqGu83anruax705fzhtXQ1hQ@mail.gmail.com> <mailman.61.1454826898.2317.python-list@python.org> <51b52cf3-0b0a-451e-a232-d9a671f7cd20@googlegroups.com> <mailman.75.1454861364.2317.python-list@python.org> <14095c33-b5d4-419f-aaf4-e6f293d0cbf9@googlegroups.com> <CAHVvXxTfk0a2Zwtj1eo5rSXHkbS00aOY4HeEBiLQgds3zeP3Ug@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de Tp47ZIu4yEomjisWtlh4MQ7bBC3TLCe6j4ZCyuaaJFcA==
Return-Path <sivan@vitakka.co>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'distutils': 0.05; 'error:': 0.05; 'cto': 0.07; 'setup.py': 0.07; 'cc:addr:python-list': 0.09; '"in': 0.09; 'benjamin': 0.09; 'command.': 0.09; 'invocation': 0.09; 'python': 0.10; 'wed,': 0.15; 'importing': 0.15; '&quot;in': 0.16; '2016': 0.16; 'cc:name:python list': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'setuptools': 0.16; 'setuptools"': 0.16; 'setuptools.': 0.16; 'subject:import': 0.16; 'wrote:': 0.16; '&gt;': 0.18; 'email addr:gmail.com&gt;': 0.18; 'cc:addr:python.org': 0.20; 'work,': 0.21; 'cc:2**1': 0.22; 'am,': 0.23; 'feb': 0.23; 'import': 0.24; 'cc:addr:gmail.com': 0.24; 'header:In-Reply-To:1': 0.24; 'script': 0.25; 'install': 0.25; "doesn't": 0.26; 'command': 0.26; 'message-id:@mail.gmail.com': 0.27; 'url:mailman': 0.30; 'work.': 0.30; 'url:python': 0.33; 'url:listinfo': 0.34; 'recommended': 0.34; 'running': 0.34; 'gives': 0.35; 'received:google.com': 0.35; 'but': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'founder': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'skip:& 10': 0.37; 'received:209': 0.38; 'does': 0.39; 'subject:the': 0.39; 'rather': 0.39; 'url:mail': 0.40; 'still': 0.40; 'your': 0.60; '&amp;': 0.61; 'oscar': 0.84; 'pip': 0.84; 'presumably': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=vitakka-co.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Cu9HTNr1zeisl2j+T0wORm1eRIl0A4L/9D3fHLj5XoQ=; b=vm+mJU67J3UzGHj7ZdkqohXdBctHanmNXx1U12YsXheQ76Q2/CCwqCGrzkdmExzC3X AKSUwOvqwDcWD3Z6kcKtppLV5UnDOiUa1K8DvptQsl18I4BOg+5xpWKuECEU51cMakHZ 6sqbdlMWJVv/tZ+s+RYXmcZ2BWcZPQ09M65/NYhcMrc3L47Ldnu+m2ZGP8ZUJx13KjIK RfHMC+njBwozffPxgUlmSknX2T1UzA7FZFPtY/VFlvrBLMA4ISf8b+b+APaZ6d7Z+b1N s52zghlywULGNzufOvwBHHVv2Ha6jZfg+gmDTS27jDzrHIxbaXVBgujlUAo+b+w0V5Vm hMSg==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Cu9HTNr1zeisl2j+T0wORm1eRIl0A4L/9D3fHLj5XoQ=; b=i7sMYfQwz0RmpZQu224xyEd13xCVq7pn9+mqZMp4VT1I2+jP1z8tNESAbGgNxgSyw7 Pd4lPWpz+5Ml5KdouxJhPobaS97HssKOaBWId41K8jAWsOJfPQxm2Wtd3wAqZCzYFsdS RCRglksNOhfHPasGJJffHJqffQCezzrLrRI3p4RSaFaKjdlUc1unrT6kY2O9v4ucBnva yyeZLTUPdToNmEcFlJoCFDaJnuQ1q54+7Jnudj701WKa8Ns+TLUj9HndFPdaOA3kVMkE DvdSOKCzELkv7jse0fsXSsGET8gHFtJjeN54HPuPz61L7G3lVlqo3KKOVClsN3jKdOib yO2Q==
X-Gm-Message-State AG10YOSLCEgTPYOrGtQrv1bwIPM+t6WN/dhSsVUQBOHdVZaqqB+A4LUKMsqM61ek7RVaz801t7pDfPo9+Ef2uw==
X-Received by 10.129.17.142 with SMTP id 136mr20941576ywr.109.1455131149922; Wed, 10 Feb 2016 11:05:49 -0800 (PST)
X-Originating-IP [84.109.37.98]
In-Reply-To <CAHVvXxTfk0a2Zwtj1eo5rSXHkbS00aOY4HeEBiLQgds3zeP3Ug@mail.gmail.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.21rc2
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21rc2
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:102769

Show key headers only | View raw


not entirely on-topic here, but is distutils still being in active use "in
the wild" ?

-Sivan

On Wed, Feb 10, 2016 at 2:31 AM, Oscar Benjamin <oscar.j.benjamin@gmail.com>
wrote:

> On 8 February 2016 at 00:38,  <dimva13@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 .".
>
> --
> Oscar
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Sivan Greenberg
Co founder & CTO
Vitakka Consulting

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Python's import situation has driven me to the brink of imsanity dimva13@gmail.com - 2016-02-06 18:47 -0800
  Re: Python's import situation has driven me to the brink of imsanity Chris Angelico <rosuav@gmail.com> - 2016-02-07 13:52 +1100
  Re: Python's import situation has driven me to the brink of imsanity Kevin Conway <kevinjacobconway@gmail.com> - 2016-02-07 06:34 +0000
    Re: Python's import situation has driven me to the brink of imsanity dimva13@gmail.com - 2016-02-07 06:13 -0800
      Re: Python's import situation has driven me to the brink of imsanity Kevin Conway <kevinjacobconway@gmail.com> - 2016-02-07 16:09 +0000
        Re: Python's import situation has driven me to the brink of imsanity dimva13@gmail.com - 2016-02-07 16:38 -0800
          Re: Python's import situation has driven me to the brink of imsanity Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2016-02-10 00:31 +0000
          Re: Python's import situation has driven me to the brink of imsanity Sivan Greenberg <sivan@vitakka.co> - 2016-02-10 21:05 +0200
          Re: Python's import situation has driven me to the brink of imsanity Mark Lawrence <breamoreboy@yahoo.co.uk> - 2016-02-10 21:16 +0000
      Re: Python's import situation has driven me to the brink of imsanity Sivan Greenberg <sivan@vitakka.co> - 2016-02-07 18:15 +0200
  Re: Python's import situation has driven me to the brink of imsanity Sivan Greenberg <sivan@vitakka.co> - 2016-02-07 13:43 +0200

csiph-web