Re: [Distutils] Re: [PSA MEMBERS] packages in Python

On May 21, 11:11am, Fred L. Drake wrote:
I take care of this in my extension module. If I have a platform dependent implementation of a module I: try: import extension Fail: use common This requires minimal amount of coding. Personally I did not see the need of this being automatic -Michel

Michel Sanner writes:
This requires minimal amount of coding. Personally I did not see the need of this being automatic
The only part that I think should be automatic is loading the additional directories into the package's __path__ (like $exec_prefix/lib/python$VERSION/site-packages/...). The rest seems to be sufficiently specific to the package to require that it be handled explicitly. -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives

Michel Sanner writes:
This requires minimal amount of coding. Personally I did not see the need of this being automatic
The only part that I think should be automatic is loading the additional directories into the package's __path__ (like $exec_prefix/lib/python$VERSION/site-packages/...). The rest seems to be sufficiently specific to the package to require that it be handled explicitly. -Fred -- Fred L. Drake, Jr. <fdrake@acm.org> Corporation for National Research Initiatives
participants (2)
-
Fred L. Drake
-
Michel Sanner