Allen Bierbaum wrote:
>> 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?
No, because there is no file contrib/pypp_api/__init__.py
(besides that you would still have to update PYTHONPATH to point to
contrib, so there's not much gained)
> Any other ideas on how to make this easier?
The "correct" way would be to provide a setup script so that users can
install the package just like every other Python package.
If there's someone out there who would like me to add such a script I
will happily do so, but as long as I'm the only user I think I can do
without that script. :)
- Matthias -
|