[Distutils] easy_install from behind an http proxy which requires authentication

2009-07-10 Thread Fadhley Salim
Dear Distutils SIG, I note that easy_install can be used behind a proxy simply by setting the HTTP_PROXY environment variable. But what of a proxy which requires authentication? Is there a technique that will allow me to specify some kind of authentication credentials in addition to the address

Re: [Distutils] easy_install from behind an http proxy which requires authentication

2009-07-10 Thread Fadhley Salim
One additional fact: I just discovered that the proxy uses NTLM authentication. There's a plugin here: http://code.google.com/p/python-ntlm/ Which allows me to do an NTLM auth on the proxy server - but is there a way to hook this auth-handler into easy_install, but is that even possible? Could

[Distutils] setuptools bug, inconsistent replacement of eggs when installing from file:// urls.

2009-03-27 Thread Fadhley Salim
I think I've found a bug in the way that setuptools selects whether an egg specified by file:// url should be installed over an existing (identical) egg: To re-create the fault: * Install the egg of your choice. * make two local egg repositories, one with a very long path (e.g. c:/a/) and one

Re: [Distutils] zc.buildout development catch 22

2009-03-18 Thread Fadhley Salim
I'd like to do something like this: http://python.pastebin.com/m283c0376 Basically, I'm invoking the easy_install command from a script. Where I specify a number ofn arguments to the --find-links option, some of which will be web-servers and at least one will be a local filesystem path, or

[Distutils] Using UNC paths as arguments to --find-links

2009-03-16 Thread Fadhley Salim
I'd like to do something like this: http://python.pastebin.com/m283c0376 Basically, I'm invoking the easy_install command from a script. Where I specify a number ofn arguments to the --find-links option, some of which will be web-servers and at least one will be a local filesystem path, or

[Distutils] How to find the default values for --find-links

2009-03-05 Thread Fadhley Salim
In an automated build environment I need to be able to make eggs which depend on non-released testing eggs. These are all published to a web-server operated by my team. I know that it's possible to globally change the default URLs of the --find-links easy_install option by editing the

[Distutils] occasional zipimport.ZipImportError: bad local file header

2009-02-05 Thread Fadhley Salim
I'm working on an automatic testing framework which installs eggs downloaded directly from the web-server. From time to time I get a very long stacktrace leading to a ZipImportError (see the pastebin link). Leading up to the error all I do is download the egg into the system's %TEMP% folder. I'm

[Distutils] Binary only egg

2008-12-04 Thread Fadhley Salim
Could somebody point me to the distutils option which prevents built eggs from containing the source-code: The egg should only contain the compiled byte-code. I seem to remember that there's a simple keyword argument to the setuptools.setup command which will do this. Thanks! This email does not

[Distutils] Can we prevent setuptools from writing to stdout

2008-09-24 Thread Fadhley Salim
Is it possible to prevent setuptools from writing anything to stdout? For various inconvenient reasons our package must install silently - that means the installation process must not write to either stdout or stderr. Other than hacking distutils / setuptools to ensure that there's nothing

Re: [Distutils] Can we prevent setuptools from writing to stdout

2008-09-24 Thread Fadhley Salim
From: Tarek Ziade [mailto:[EMAIL PROTECTED] Sent: 24 September 2008 14:33 To: Salim, Fadhley (CALYON) Cc: distutils-sig Subject: Re: [Distutils] Can we prevent setuptools from writing to stdout 2008/9/24 Fadhley Salim [EMAIL PROTECTED] Is it possible

Re: [Distutils] [buildout] improving zc.recipe.egg's README.txt

2008-08-14 Thread Fadhley Salim
Surely the easiest way to get that would be direct from SVN? The setup.py file would be part of your project. It's used to build the egg but never actually incorporated into the egg - I cannot think what use it would be even if you found a way to break this convention. By the way - kudos to

Re: [Distutils] Distutils / Setuptools on Windows: Can we use local or UNC filesystems as an argument to --find-links

2008-08-13 Thread Fadhley Salim
2008 19:51 To: Salim, Fadhley (CALYON); distutils-sig@python.org Subject: RE: [Distutils] Distutils / Setuptools on Windows: Can we use local or UNC filesystems as an argument to --find-links At 06:23 PM 8/12/2008 +0100, Fadhley Salim wrote: Phillip, Thanks for your help - still no go! Any time I

[Distutils] Is it possible to stop easy_install from checking pypi

2008-08-13 Thread Fadhley Salim
If the packages cannot be found in the URLs that I specify in find-links easy_install always checks pypi. Is there some way to prevent this? I'd like to ensure that pypi is never checked. Sal This email does not create a legal relationship between any member of the Crédit Agricole group and the

Re: [Distutils] [buildout] looking for review of docs on find-links

2008-08-13 Thread Fadhley Salim
Chris, Another suggestion for the doc: It could describe the consequence of having --find-links on the command line, plus find_links= in the distutils.cfg file. From what I can tell, you should use one or the other but not both. Sal -Original Message- From: [EMAIL PROTECTED]

[Distutils] Distutils / Setuptools on Windows: Can we use local or UNC filesystems as an argument to --find-links

2008-08-12 Thread Fadhley Salim
A project I'm working on requires a Python egg to be deployed to a remote location which (because of a security configuration outside my control) denies users access to the web-servers we use to load eggs from the office I work. I've determined that the security at this location allows users

Re: [Distutils] Distutils / Setuptools on Windows: Can we use local or UNC filesystems as an argument to --find-links

2008-08-12 Thread Fadhley Salim
/ Setuptools on Windows: Can we use local or UNC filesystems as an argument to --find-links At 03:46 PM 8/12/2008 +0100, Fadhley Salim wrote: Has anybody had any luck using the --find_options argument to easy_install with a local folder (e.g. on a Windows C: Drive) or a network folder, for example

Re: [Distutils] Distutils / Setuptools on Windows: Can we use local or UNC filesystems as an argument to --find-links

2008-08-12 Thread Fadhley Salim
August 2008 17:17 To: Salim, Fadhley (CALYON); distutils-sig@python.org Subject: RE: [Distutils] Distutils / Setuptools on Windows: Can we use local or UNC filesystems as an argument to --find-links At 04:41 PM 8/12/2008 +0100, Fadhley Salim wrote: What about using a network folder, e.g. a UNC path