Jorge Godoy wrote:
> Setuptools is an extension over distutils...  Distutils allows you to do
> that with the --prefix option and the data_files directive.  Setuptools
> provides "package_data" for data *inside* the package, as explained in
> the docs. 

Probably I was mislead by the following passage in the setuptools docs:

"The distutils normally install general "data files" to a 
platform-specific location (e.g. /usr/share). This feature intended to 
be used for things like documentation, example configuration files, and 
the like. setuptools does not install *these* data files in a separate 
location, however."

If I understand you correctly, *these* data files refers to package_data 
only, and you can still use data_files.

Anyay, the data_files option is still not useful for copying the static 
files: You cannot use glob patterns as in setuptools; you cannot 
automatically create the necessary directories and subdirectories like 
"css" or "images"; and it seems to copy the files even when building the 
egg, not only when installing it.

So my original problem is still not solved.

-- Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to