Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'interpreter': 0.05; 'url:bitbucket': 0.05; '"""': 0.07; 'completeness': 0.07; 'modify': 0.07; 'variables': 0.07; 'editor.': 0.09; 'modifies': 0.09; 'msi': 0.09; 'received:155': 0.09; 'restart': 0.09; 'url:github': 0.09; 'windows,': 0.09; 'python': 0.11; '2.7': 0.14; 'windows': 0.15; 'command,': 0.16; 'command-line': 0.16; 'command.': 0.16; 'disclaimers': 0.16; 'disclaimers,': 0.16; 'easy_install': 0.16; 'effect,': 0.16; 'ez_setup.py': 0.16; 'from:addr:jpmorgan.com': 0.16; 'implies': 0.16; 'installer,': 0.16; 'intermittent': 0.16; 'machine?': 0.16; 'programmatic': 0.16; 'reboot': 0.16; 'received:155.180': 0.16; 'received:159': 0.16; 'received:159.53': 0.16; 'received:bankone.net': 0.16; 'received:exchad.jpmchase.net': 0.16; 'received:jpmchase.com': 0.16; 'received:jpmchase.net': 0.16; 'received:svr.bankone.net': 0.16; 'securities,': 0.16; 'setuptools,': 0.16; 'url:disclosures': 0.16; 'url:jpmorgan': 0.16; 'url:pip': 0.16; 'url:py': 0.16; 'url:setuptools': 0.16; 'variable.': 0.16; 'wrote:': 0.18; 'variable': 0.18; 'all,': 0.19; 'slightly': 0.19; 'working.': 0.19; 'command': 0.22; 'memory': 0.22; 'to:name:python-list@python.org': 0.22; 'install': 0.23; 'affects': 0.24; 'faq': 0.24; 'skip:% 10': 0.24; '(or': 0.24; 'environment': 0.24; 'question': 0.24; 'this:': 0.26; 'least': 0.26; 'distribute': 0.26; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'tried': 0.27; 'sets': 0.30; '(on': 0.31; 'away.': 0.31; 'values.': 0.31; 'python.org': 0.32; 'received:169.254': 0.32; 'says': 0.33; 'maybe': 0.34; 'subject:the': 0.34; 'could': 0.34; 'something': 0.35; '(2)': 0.35; 'but': 0.35; 'there': 0.35; 'really': 0.36; 'accuracy': 0.36; 'charset:us-ascii': 0.36; 'possible': 0.36; 'url:org': 0.36; 'should': 0.36; 'received:169': 0.37; 'url:microsoft': 0.37; 'thank': 0.38; 'follows:': 0.38; 'machines': 0.38; 'url:library': 0.38; 'version,': 0.38; 'window': 0.38; 'needed': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'environment.': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'remove': 0.60; 'manually': 0.60; 'affect': 0.61; 'new': 0.61; 'information,': 0.61; 'you.': 0.62; 'back': 0.62; 'myself': 0.63; 'taking': 0.65; 'purchase': 0.65; 'worth': 0.66; 'believe': 0.68; 'panel': 0.68; 'url:en-us': 0.68; 'subject': 0.69; 'default': 0.69; 'legal': 0.71; 'manner': 0.72; 'repeat': 0.74; 'sale': 0.75; 'imagining': 0.84; 'installer': 0.84; 'look.': 0.84; 'received:169.254.8': 0.84; 'subject:Using': 0.84; 'url:master': 0.84; 'hate': 0.91; 'url:latest': 0.91; 'subject:Setting': 0.96 X-DKIM: OpenDKIM Filter v2.1.3 sz1.jpmchase.com r8JMMjTw013861 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpmorgan.com; s=smtpout; t=1379629366; bh=4Ss+gK47fIUXPkRZA1CeY28AQ8OTiZuPX2/9Fq1334Q=; h=From:To:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:content-transfer-encoding:MIME-Version; b=ZeaBqv8u623mjbrP9hv7GSMVhfN/QK0PEsOypIk4oIQMq7wQseqASABuRwCbNMb9+ KfV0Kx0FdTS/4LUVQiatc0OCmtO8av7wMNG2D0lHanUpHWdTl0ex6LNaxZTr+bS/dg 7bM0NhjTkjpwYonS+Zz6mfTqrDkGKgq8gTo7BIc4= X-AuditID: a97c8564-b7f3a8e000007e1a-d6-523b793374b0 From: "Prasad, Ramit" To: "cython@m.allo.ws" , "python-list@python.org" Subject: RE: Using the MSI installer on Windows: Setting PATH and Setuptools Thread-Topic: Using the MSI installer on Windows: Setting PATH and Setuptools Thread-Index: AQHOtXIksM6Y1VStmkGY1BSAnfpk85nNmiJw Date: Thu, 19 Sep 2013 22:22:42 +0000 References: <567c7442-313f-4df3-8fc4-ff3256aabc46@googlegroups.com> In-Reply-To: <567c7442-313f-4df3-8fc4-ff3256aabc46@googlegroups.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.67.193.34] Content-Type: text/plain; charset="us-ascii" content-transfer-encoding: quoted-printable MIME-Version: 1.0 X-DLP-FWD: Yes X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGKsWRmVeSWpSXmKPExsUye4uJsK5JpXWQwYEFUhaHNyxmsjjSeo3V gcnjx9Pz7B4v5r9hC2CKamC0SczLyy9JLElVSEktTrZVcsksTs5JzMxNLVLQVfAqyM0vSk/M 00vOz1VSyEyxVTJRUijISUxOzU3NK7FVSiwoSM1LUbLjUsAANkBlmXkKqXnJ+SmZeem2Sp7B /roWFqaWuoZKdiEZmcUKqbmJmTkKCRvZM04eUS64LVbxomUrSwPjZqEuRk4OCQETidvrfrJC 2GISF+6tZwOxhQSOMEq8aQzvYuQCsg8xSnyc8YQRIrGJUWJnBy+IzSZgKHH87BN2EFtEIE6i u2kVUxcjB4ewgI/E5Y5CiLCvxLcpk1ghbCOJs1unMIHYLAKqElen7QGL8wqESFzqeAe111li 4bTZ7CBjOAVcJG6uNgMJMwKd9v3UGrBWZgFxiVtP5jNBnCwgsWTPeWYIW1Ti5eN/UK8oSHzc vJ8Nol5HYsHuT1C2tsSyha+ZIdYKSpyc+YQFZJWQgJrEvvW2IKaEAJ/E9rbqCYwSs5Asm4Vk 0Cwkg2YhGbSAkWUVo2RxbnqGqV5xWZFeabFeVkFuckZicapeXmrJJkZgcllZ05qyg/HgSttD jAIcjEo8vAWC1kFCrIllxZW5wFDmYFYS4T2UdTJQiDclsbIqtSg/vqg0J7X4EGMVMMgmMkuJ JucDE19eSbyhsZmFgampoYGFoZEJVYSVxHnnd0kHCQmkA1NpdmpqQWoRzHImDk6pBkal7Ir4 g1PPOjWdElhr2nnj9fGbdjl/F07U/77Ne27pw8p27YV71m2TfTbNf/vbhyp+FmKWkmYRBk8/ 7L28el4bp9cjtSf/vsXtPXzOpz+8m+3aZ/3PfhfDKwrnKFdZNklqP5YQX2n5b93tYxdUleZO EjQJ0lLMnvg98NUjA3/1KY/OM/rv2fxGiaU4I9FQi7moOBEAOmDUNokDAAA= 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: 89 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379630282 news.xs4all.nl 15939 [2001:888:2000:d::a6]:50924 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54452 cython@m.allo.ws wrote: > Hello All, > > I really hate Windows, and I have only intermittent access to Windows mach= ines right now. > > When I install Python 2.7 on Windows using the MSI installer, it definitel= y does not modify the PATH > variable. So I modify the PATH variable myself as follows: > > setx PATH %PATH%;C:\Python27\ > > Question 1: The command above requires a reboot in order to take effect, a= t least on Windows 8. How do > I make it take effect immediately? Maybe if I repeat the same command agai= n with 'set' instead of > 'setx'? Does 'set' affect the whole machine, or only the current CMD.EXE s= ession? Set affects current session only. """ Setx provides the only command-line or programmatic way to directly and perm= anently set system environment values. System environment variables are manu= ally configurable through Control Panel or through a registry editor. The se= t command, which is internal to the command interpreter (Cmd.exe), sets user= environment variables for the current console window only. """ ~ http://technet.microsoft.com/en-us/library/cc755104.aspx Setx should not require a reboot, but might require user to log out and back in (or restart CMD). Also, note that it modifies local environment by default and not system environment. [snip] > > Question 3: Does the Windows MSI installer from Python.org include Setupto= ols? python-guide.org > implies that it does not include Setuptools, but I have never needed to ma= nually install Setuptools, I > am always able to use easy_install right away. Is my memory warped, or per= haps tainted by old Python > installs on the same machine? ActiveState's ActivePython MSI does include pip. FAQ says it also includes distribute which you could remove (I am guessing) but it will stop PyPM from working. I believe they also setup the PATH for you. I think ActivePython might be a slightly better installer for Windows users--at least that is what some people have recommended. I have not tried it myself, but it might be worth taking a look. > > Question 4: If the Windows MSI installer indeed lacks Setuptools, what is= the best way to install it > from the command line in a future-proof manner (on Windows)? I am imaginin= g something like this: > > wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py > python ez_setup.py > > However, (1) wget is not a Windows command. What is the Windows command? A= nd (2) is that URL the best > possible URL? Or will that URL only download an old version, and there is= a better URL for new > versions? The pip documentation uses the URL https://raw.github.com/pypa/pip/master/co= ntrib/get-pip.py pip documentation: https://pip.readthedocs.org/en/latest/installing.html > > Thank you, > > Zak ~Ramit This email is confidential and subject to important disclaimers and conditio= ns including on offers for the purchase or sale of securities, accuracy and= completeness of information, viruses, confidentiality, legal privilege, and= legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclo= sures/email.