I think 2,3, or 4 would be acceptable, slight preference for an executive
decision, i.e., 2 or 3 rather than 4.
On the other hand, maybe we (i.e., you) should check with the greater python
communitiy and solicit opinions. Maybe ask Guido. They may have good
arguments. I would prefer above all a solution that does not lead to the
installation becoming a rat's nest: if every package attaches to python a
different way, yuck. Philosophically I agree with you about /usr vs
/usr/local, but there might be good reason to prefer consistancy over
philosophy.
-Gary
> By default, Python only searches under /usr/lib/python/site-packages for
> third-party extension modules on more than one platform, so an extension
> module installed under /usr/local/lib/python/site-packages will not be
> imported by python on these platforms.
>
> IMO, /usr belongs to the OS distributor, and local packages that are not
> installed by under the distribution's package management system (eg apt,
> rpm) should be installed under the /usr/local hirearchy. There are
> several work-arounds that we can make in the installer, or leave it up
> to the user to fix. Please let us know what behavior you expect from
> our source distribution.
>
> [ ] 1) Install with a default installation prefix of /usr.
> [ ] 2) Automatically extend the python module search path by appending
> to sitecustomize.py
> [ ] 3) Automatically extend the python module search path by adding a
> file named "Visual.pth" in the existing search path.
> [ ] 4) Provide instructions for the user to manually choose one of the
> above.
> [ ] 5) Something else: _____________
>
>
> Thanks for your feedback,
> Jonathan Brandmeyer
>
> P.S. Dr. Sherwood and I are leaning towards 2 and 4.
>
> Detailed descritption for extending sys.path. Although part of the 2.3
> docs, it is completely relavant for 2.2.
>
http://www.python.org/dev/doc/devel/inst/search-path.html#SECTION00041000000
0000000000
>
> See the blurb about sitecustomize at the end.
> http://www.python.org/doc/current/lib/module-site.html
>
> See the description of sys.path.
> http://www.python.org/doc/current/lib/module-sys.html
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: ValueWeb:
> Dedicated Hosting for just $79/mo with 500 GB of bandwidth!
> No other company gives more support or power for your dedicated server
> http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
> _______________________________________________
> Visualpython-users mailing list
> Vis...@li...
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
|