Re: [Distutils] Buildout release news

2010-08-26 Thread Gary Poster
On Aug 25, 2010, at 5:50 AM, Reinout van Rees wrote: > On 08/24/2010 05:47 PM, Gary Poster wrote: >> How would you like to proceed? >> >> 1) We talk about some way of making it so that this kind of recipe can have >> a "get out of my way" flag to access site-packages. >> 2) We talk about a way

Re: [Distutils] any way to stop buildout/setuptools compiling things that aren't python?

2010-08-26 Thread Tarek Ziadé
On Thu, Aug 26, 2010 at 2:35 PM, Chris Withers wrote: > Tarek Ziadé wrote: >> >> The other option is to have the ZSyncer project treat these files as >> data files, so they >> don't get compiled > > How do I do that? > > They're only being found by setuptools' include_package_data=True... http://

Re: [Distutils] use2to3 and non-package files

2010-08-26 Thread Martin v. Löwis
> I poked around a bit and didn't see an obvious way to do this. Can > anybody suggest the best way to go about implementing it? distutils has the distutils.util.run_2to3 function, which makes it fairly straight-forward to invoke 2to3 on a set of files. On top of these, you have copydir_run_2to3,

Re: [Distutils] any way to stop buildout/setuptools compiling things that aren't python?

2010-08-26 Thread Chris Withers
Tarek Ziadé wrote: The other option is to have the ZSyncer project treat these files as data files, so they don't get compiled How do I do that? They're only being found by setuptools' include_package_data=True... Chris -- Simplistix - Content Management, Batch Processing & Python Consulting

Re: [Distutils] any way to stop buildout/setuptools compiling things that aren't python?

2010-08-26 Thread Tarek Ziadé
On Thu, Aug 26, 2010 at 1:30 PM, Chris Withers wrote: > Hi All, > > Some packages include things which aren't python, they may even have .py > extensions though. > > Installing these using easy_install/buildout/pip/etc results in this kind of > (harmless) ugliness: > > SyntaxError: ("'return' outs

[Distutils] any way to stop buildout/setuptools compiling things that aren't python?

2010-08-26 Thread Chris Withers
Hi All, Some packages include things which aren't python, they may even have .py extensions though. Installing these using easy_install/buildout/pip/etc results in this kind of (harmless) ugliness: SyntaxError: ("'return' outside function", ('build/bdist.macosx-10.3-fat/egg/Products/ZSynce

[Distutils] use2to3 and non-package files

2010-08-26 Thread Alex Stewart
Hi there, I have a project I want to use with the 'use2to3' option of distribute to maintain a common codebase for both 2.x and 3.x.. (First of all, let me say thank you so much for adding this option to distribute.. it makes this sort of thing so much easier :) ) Anyway, everything works fine