Matthias Baas wrote:
> al...@us... wrote:
>
>> Revision: 434
>> Author: allenb
>> Date: 2006-08-22 14:56:24 -0700 (Tue, 22 Aug 2006)
>> ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=434&view=rev
>>
>> Log Message:
>> -----------
>> Make contrib look a little like a package to python.
>>
>> This will allow a user to just add the contrib directory to their
>> python path and then "import contrib.package_name". This is much
>> easier to deal with then having to add a bunch of paths.
>
>
> I don't know if this is such a good idea. It won't work with pypp_api
> and arrayinfo anyway. The latter is no package and the former has its
> package in pypp_api/pypp_api and not directly in pypp_api because I
> wanted to be able to add additional files such as the doc generation
> script, readme, etc. which do not belong right inside the package
> directory.
Wouldn't you now be able to do import contrib.pypp_api.pypp_api or
something like that?
>
> I think it's misleading if people think the entire contrib directory
> is one single package.
I definitely don't want to mislead people. I just want to make it easy
to use the contribs.
Any other ideas on how to make this easier?
-Allen
>
> - Matthias -
>
|