Re: Redistribution without install
Stefan Reich <wertiges.produkt-gM/[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Anders, thanks for answering. Anders Kaseorg schrieb: > 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). > How does it make life harder for my users? They don't have to do anything. They just run my software. The scenario of some distributions (what distributions?) wanting to package my software is something that is so far in the future that it's not an issue for me at this point. >> 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. > OK, that is one possible solution. I wouldn't be so quick in declaring the "best solution" though. My question remains: Can PyYAML be repackaged without the need to run an installation script? Stefan ------------------------------------------------------------------------------ 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