[merge] setup.py should find the packages automatically

Alexander Belchenko bialix at ukr.net
Fri Aug 18 08:04:06 BST 2006


John Arbash Meinel пишет:
> === modified file 'setup.py'
> --- setup.py	2006-08-16 14:56:07 +0000
> +++ setup.py	2006-08-17 13:53:14 +0000
> @@ -6,6 +6,9 @@
>   './setup.py --help' for more options
>  """
...
> +# The list of packages is automatically generated later. Add other things
> +# that are part of BZRLIB here.
> +BZRLIB = {}

Just one thoughts: may be better to explicitly point what expected to be 
in this dictionary, e.g. like this:

+BZRLIB = {'packages': None}

Unfortunately this does not cause error in setup() function if it was
not updated, but at least it cause human readable 'wtf' error.

--
Alexander





More information about the bazaar mailing list