[Distutils] Working environment
Jim Fulton
jim at zope.com
Sat Mar 11 23:53:15 CET 2006
Ian Bicking wrote:
> Jim Fulton wrote:
>
...
>>> lib/python2.4/ is for packages.
>>
>>
>> Minor note: this needs to be flexible. I'd be more inclined to go
>> with something shallower and simpler, like just "lib",
>
>
> Why? Top-level packages aren't portable, since .pyc files aren't
> portable. Eggs are portable, since they contain the Python version.
I have no idea what you are saying or how it relates to whether or not
packages go in lib/python2.4 or lib.
...
>> This brings me to the topic of configuration. Today, I write wrapper
>> scripts "by hand", I may have some application like Zope, or ZEO
>> or our test runner that is implemented by a an entry point in a module.
>> Then there's a wrapper script that imports the module and calls the
>> entry point.
>> The wrapper script is written (manually or with some custom installation
>> script) to include the path to be used and configuration data,
>> which may be the location of a configuration file. I really like
>> the fact that easy_install will generate wrapper scripts for me, but
>> I really need more control over how these scripts are generated to
>> include *both* path and configuration information.
>
>
> I'm not sure what to think of this. I don't think of it as a script.
> It's like a specific invocation of the script. A shell script. Maybe
> we can improve on shell scripts, but I think it's a different idea than
> the script alone.
What "it" are you talking about?
Jim
--
Jim Fulton mailto:jim at zope.com Python Powered!
CTO (540) 361-1714 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org
More information about the Distutils-SIG
mailing list