Re: Redistribution without install

Anders Kaseorg <andersk-DPNOqEs/[email protected]>
Newsgroups gmane.text.yaml.general
Message-ID <[email protected]>
On Fri, 5 Jun 2009, Stefan Reich wrote:
> Can I make PyYAML a part of my source distribution?

This is almost always discouraged.  Even if it seems convenient at first, 
in the long run it will make life harder for your users, and especially 
for distributions that want to package your software: 
<http://lwn.net/Articles/277132/> (see the “Internal libraries” section).

> Ideally, I would like to avoid that users have to install PyYAML on their
> system. (The less setup, the better.)

The best solution is to package your Python software using setuptools or 
distutils, declaring a dependency on PyYAML.  Then users will be able to 
install it with easy_install, which will automatically download and 
install all necessary dependencies.

Anders

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Yaml-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yaml-core
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.