On Tue, May 7, 2013 at 4:09 PM, Peter Moody <
pmo...@google.com> wrote:
> On Tue, May 7, 2013 at 4:07 PM, <
j...@thejof.com> wrote:
>
>> Firstly, it seems that much of the platform code is in the "lib" module. Is
>> there a reason for such a generic name? It would seem to me like it'd make a
>> lot more sense to package everything up under a namespace like "capirca".
>> Is there a reason to stick with "lib"? I'd very much like to move things to
>> exist like "capirca.cisco", "capirca.aclgen", etc.
>
> Why?
Internal packaging policy that states that modules should be
namespaced under packages in a way that makes sense for the library or
project.
"lib" is pretty confusing to someone that doesn't know about capirca.
Most other Python libraries and projects organize their code in this
fashion, so I was wondering if it'd be possible to make similar
organizations for Capirca.
I can't package it in its current state, and I _really_ don't want to
fork the SVN repo internally, since it would lead to re-integration
headaches down the road.
Is there any reason not to re-organize capirca in this fashion?
Maybe a transitional state could be created where the packages are
installed under a "capira" dot-path, but are symlinked such that
they're still accessible by the old names.
Cheers,
jof