Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'argument': 0.05; 'output': 0.05; 'distutils': 0.07; 'interpreter.': 0.07; 'python3': 0.07; 'skip:` 10': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'python': 0.11; 'command-line': 0.16; 'expected,': 0.16; 'kern': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'robert,': 0.16; 'tried:': 0.16; 'underlying': 0.16; 'write.': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'import': 0.22; 'header:User-Agent:1': 0.23; 'interpret': 0.24; 'script': 0.25; 'header:X-Complaints-To:1': 0.27; 'header :In-Reply-To:1': 0.27; 'tried': 0.27; 'robert': 0.30; 'run': 0.32; 'url:python': 0.33; 'running': 0.33; 'monday,': 0.33; 'url:org': 0.36; 'so,': 0.37; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'help,': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'read': 0.60; 'tell': 0.60; 'march': 0.61; 'url:3': 0.61; 'show': 0.63; 'url:index': 0.63; 'our': 0.64; 'finally': 0.65; 'world': 0.66; 'believe': 0.68; 'results': 0.69; 'copy-paste': 0.84; 'eco': 0.84; 'terrible': 0.84; 'received:86': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Robert Kern Subject: Re: pip and distutils2-1.0a4 Date: Mon, 03 Mar 2014 22:11:44 +0000 References: <248fe774-aed4-4a59-afac-e746e2110dd7@googlegroups.com> <31feb451-7fb6-48a6-9986-bddce69c4991@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: cpc2-cmbg17-2-0-cust347.5-4.cable.virginm.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <31feb451-7fb6-48a6-9986-bddce69c4991@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393884714 news.xs4all.nl 2906 [2001:888:2000:d::a6]:49977 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67597 On 2014-03-03 21:37, Mark H. Harris wrote: > On Monday, March 3, 2014 3:32:43 PM UTC-6, Robert Kern wrote: > >> Probably. If you want us to help, you need to show us what you tried, tell us >> what results you expected, and copy-paste the output that you got. > >> Robert Kern > > hi Robert, well, I finally came up with trying to find setup(). Its a part of > distutils.core. So, I tried: > > from distutils.core import setup > from distutils import * > > Then I tried to run setup() --help-commands and python3 crashed. > > What did I do wrong? running Py3.3.4 You don't run `setup() --help-commands` in the Python interpreter. `--help-commands` is a command-line argument to the setup.py script that you will write. It is not Python syntax. Please read the documentation. http://docs.python.org/3/distutils/index.html -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco