I just want to say that I agree it is a problem. Considering TG is a framework that's supposed to be easing the developement process by choosing the best of the breed... it definately stops as soon as you try to deploy it. Ha like.. where do I put the config file.. I had the same problem.. and then after that.. how do i get it to start on start up.. write an init script? well yeah I CAN but then.. what if I have two.. write 2 init scripts? I like the workingenv and supervisord setup mentioned earlier on the list but why can't we kind of standardize this? I mean yeah yeah.. everyone has their own needs but most of us are going to upload our TG project and proxy it behind apache...and then try to figure out how to start it or even where we put the config file. So I guess my whole post is to say don't ignore the problem .. because it is a problem.
-Ian On 4/26/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > > 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 -~----------~----~----~----~------~----~------~--~---

