On Jan 8, 8:39 pm, Kenny <kenny.kol...@gmail.com> wrote:
> Hi,

Hi Kenny,

> I've been using Python for many years and recently installed Sage on
> my MacBook Pro running OS X. So far I'm liking it quite a bit.
>
> What is the best way to add support for a package not included in
> Sage? I'm currently using a serial link (later to be Ethernet) to send
> packets from the Mac to an embedded data acquisition system. If I can
> access the objects that depend on PySerial then I can integrate my
> experiments and data visualization directly.
>
> Is simply using disutils and setup.py from the proper directory the
> way to install PySerial?

Yes, open a terminal, run ./sage -sh, cd into the build directory and
run python setup.py install from there. If you depend on some C or C++
libraries that should work, in the case of C or C++ libraries you
might need to set LD_FLAGS

> Thanks,
>
> Kenny

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to