[Distutils] [setuptools] best way to create offline install bundles?

Ronald Oussoren ronaldoussoren at mac.com
Tue Sep 12 09:56:47 CEST 2006


On Sep 11, 2006, at 6:34 PM, primco wrote:

>
> Setuptools would have to packaged up with TG or Pylons. All  
> programs need to
> be self contained and can only depend on the standard library in  
> the system
> wide install. No 'automatic download' would be allowed either.  
> Basically,
> the whole thing needs to be copied and run. This is a basic feature of
> Python scripts. It's unfortunate that things have become so complex  
> that
> this is no longer possible.

Is that ("All programs need to be self contained") some kind of  
company policy? Not that I disagree, self contained installations can  
make sysadmin and upgrades a lot easier.

Python scripts can still be copied and run, but that hasn't been true  
for complex, or even less complex, projects for ages. Setuptools  
makes live easier for the most part: you don't have to bundle (or  
rewrite) other libraries and still have a pretty simple install  
because the dependencies are written down in a machine-readable way  
and a tool (setuptools) can act on that.

IIRC both the setuptools documentation and the list archives contain  
descriptions on how to achieve multiple self-contained python  
environments.

Ronald
>
>
> Ronald Oussoren wrote:
>>
>> On Saturday, September 09, 2006, at 04:07AM, primco  
>> <primco at gmail.com>
>> wrote:
>>> I would love this as well, as I'm in a situation where setuptools is
>>> forbidden and I need to distribute Python apps like TurboGears  
>>> and Pylons
>>> with loads of dependencies.
>>
>> Why is setuptools forbidden? Is the the automatic download of  
>> packages or
>> is there something else?
>>
>> Setuptools is more than easy_install, it is also a package that has
>> usefull future for packages, such as entrypoints. These are used by
>> TurboGears (and I don't know Pylons), so not installing setuptools  
>> at all
>> isn't really an option.
>>
>
> -- 
> View this message in context: http://www.nabble.com/-setuptools-- 
> best-way-to-create-offline-install-bundles--tf2239029.html#a6250241
> Sent from the Python - distutils-sig forum at Nabble.com.
>
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2157 bytes
Desc: not available
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20060912/1eac45bb/attachment-0001.bin 


More information about the Distutils-SIG mailing list