Re: [Distutils] Distutils 1.0a1 released

2010/5/6 P.J. Eby <pje@telecommunity.com>:
At 03:39 PM 5/6/2010 +0200, Tarek Ziadé wrote:
a find_packages() function. extracted from setuptools but that can take several root paths.
Darn. I was really hoping that distutils2 would enforce a *single* root path for packages. package_dir is an abomination that should die, die, die. (IMO, anyway. ;-) )
Oh well, find_package() is just a helper for the package option. The multi-root option is to make it easier to add extra packages (like a third party package incuded in the distro) Now for the package_dir, option, I wouldn't mind removing it. I have always hated it too. If we just kill it, people will just have to provide packages relative to the root, I am +1 to remove package_dir
-- Tarek Ziadé | http://ziade.org

On Thu, May 6, 2010 at 20:14, Tarek Ziadé <ziade.tarek@gmail.com> wrote:
I am +1 to remove package_dir
It's gonna be a pain it the ass moving all packages from src/, though. ;) Maybe it'll be scriptable. -- Lennart Regebro: Python, Zope, Plone, Grok http://regebro.wordpress.com/ +33 661 58 14 64

Lennart Regebro wrote:
On Thu, May 6, 2010 at 20:14, Tarek Ziadé <ziade.tarek@gmail.com> wrote:
I am +1 to remove package_dir
It's gonna be a pain it the ass moving all packages from src/, though. ;) Maybe it'll be scriptable.
I don't think removing package_dir means enforcing that all packages have to live in distribution root (at least I hope not). I think it just means distutils2's setup.cfg needs a syntax for specifying "packages" that allows specifying a path to the package. One possible such syntax is here: http://bitbucket.org/carljm/sample-distutils2-project/src/tip/setup.cfg Carl
participants (3)
-
Carl Meyer
-
Lennart Regebro
-
Tarek Ziadé