Re: How to port a python package to a embedded system

2017-04-25 Thread Michael Torrie
On 04/25/2017 07:41 PM, chenchao wrote: > Hi, all: > > I have installed the PIP on my arm board now. But the 'numpy' > package includes some of C codes. This part of the C code must be > x-compiled and I don't know how to x-compiled this package. So, is there > a good idea for this issue?

Re: Bigotry (you win, I give up)

2017-04-25 Thread breamoreboy
On Tuesday, April 25, 2017 at 5:41:11 PM UTC+1, Rhodri James wrote: > On 25/04/17 15:26, Rustom Mody wrote: > > > > Astrology is bunk… > > > > Or is it 'fake-news' ? > > > > https://www.washingtonpost.com/national/health-science/can-a-full-moon-really-affect-our-behavior/2016/01/15/8de3018e-b940-

Re: How to port a python package to a embedded system

2017-04-25 Thread Nathan Ernst
As previously asked: what board are you using? There might be a simple response to your issue, but you've yet to state the board you're using. You will not get any useful responses until you answer this very, very simple question. If you can't "pip install", you'll probably have to build from sour

Re: Bigotry (you win, I give up)

2017-04-25 Thread breamoreboy
On Friday, April 21, 2017 at 4:19:25 PM UTC+1, Ethan Furman wrote: > On 04/21/2017 06:33 AM, Ethan Furman wrote: > > On 04/21/2017 03:38 AM, breamoreboy wrote: > > >> Talking of signatures another of Robert L's beauties landed three or so > >> hours ago. He really is a right little > >> charmer

Re: How to port a python package to a embedded system

2017-04-25 Thread chenchao
Hi, all: I have installed the PIP on my arm board now. But the 'numpy' package includes some of C codes. This part of the C code must be x-compiled and I don't know how to x-compiled this package. So, is there a good idea for this issue? On 04/25/2017 01:15 PM, Michael Torrie wrote: O

Re: Quote of the week

2017-04-25 Thread breamoreboy
On Wednesday, April 26, 2017 at 12:03:09 AM UTC+1, Ben Finney wrote: > > "If it's not important enough to require tests it's not important > > enough to be in Python." -- Ethan Furman > > Ethan Furman writes: > > > Yes, the smiley was acknowledgement that testing is hard, will never > > be perfec

Re: Bigotry (you win, I give up)

2017-04-25 Thread Gregory Ewing
Rustom Mody wrote: The influence of Jupiter, Saturn, etc is — for astrology-buffs at least — just a refinement of the influence of the sun, moon > Maybe the idea that tides are controlled by the moon and that people awake and sleep with the sun is also fake? There's a huge difference, though.

Re: Quote of the week

2017-04-25 Thread Ben Finney
> "If it's not important enough to require tests it's not important > enough to be in Python." -- Ethan Furman Ethan Furman writes: > Yes, the smiley was acknowledgement that testing is hard, will never > be perfect, and we only have so much time -- but thorough tests should > still be the goal

Re: Quote of the week

2017-04-25 Thread Ethan Furman
On 04/25/2017 10:11 AM, Terry Reedy wrote: On 4/25/2017 6:32 AM, Steve D'Aprano wrote: "If it's not important enough to require tests it's not important enough to be in Python." -- Ethan Furman The original had a smily ';)' at the end. https://mail.python.org/pipermail/python-committers/20

Re: Battle of the garbage collectors, or ARGGHHHHHH!!!!

2017-04-25 Thread Cem Karan
On Apr 24, 2017, at 8:54 PM, Jon Ribbens wrote: > On 2017-04-24, CFK wrote: >> Long version: I'm trying to write bindings for python via ctypes to control >> a library written in C that uses the bdwgc garbage collector ( >> http://www.hboehm.info/gc/). The bindings mostly work, except for when

Re: How to port a python package to a embedded system

2017-04-25 Thread Chris Angelico
On Wed, Apr 26, 2017 at 3:15 AM, Michael Torrie wrote: > If chenchao installed Python from a distro package (always recommended) > then that link is exactly what he needs to do. In fact it would be a > good idea to install numpy from the repositories using apt-get also, if > it's there. > > If he

Re: How to port a python package to a embedded system

2017-04-25 Thread Michael Torrie
On 04/25/2017 08:07 AM, MRAB wrote: > On 2017-04-25 07:28, chenchao wrote: >> Hi, all: >> >> I installed it by 'pip install numpy' or 'python setup.cfg >> install' on my PC, but I do not know how to do this on my arm board. >> Because of my arm board does not have tool of pip. could you plea

Re: Quote of the week

2017-04-25 Thread Terry Reedy
On 4/25/2017 6:32 AM, Steve D'Aprano wrote: "If it's not important enough to require tests it's not important enough to be in Python." -- Ethan Furman The original had a smily ';)' at the end. https://mail.python.org/pipermail/python-committers/2017-April/004436.html In the context of deb

Re: Bigotry (you win, I give up)

2017-04-25 Thread Rhodri James
On 25/04/17 15:26, Rustom Mody wrote: Astrology is bunk… Or is it 'fake-news' ? https://www.washingtonpost.com/national/health-science/can-a-full-moon-really-affect-our-behavior/2016/01/15/8de3018e-b940-11e5-99f3-184bc379b12d_story.html Maybe the idea that tides are controlled by the moon an

python won't uninstall

2017-04-25 Thread Shimon Mor
Hello, python won't uninstall.. I'm trying to uninstall so I could reinstall it.. some command doesn't work.. like 'pip'. Help please, Thank you, Shimon [cid:image001.jpg@01D2BD37.046F7530] Shimon Mor shimo...@hadassah.ac.il רחוב הנביא

Re: Bigotry (you win, I give up)

2017-04-25 Thread Rustom Mody
On Monday, April 24, 2017 at 1:20:05 PM UTC+5:30, Antoon Pardon wrote: > Op 22-04-17 om 13:17 schreef Rustom Mody: > > On Friday, April 21, 2017 at 2:38:08 PM UTC+5:30, Antoon Pardon wrote: > >> Op 20-04-17 om 17:25 schreef Rustom Mody: > >>> But more importantly thank you for your polite and consi

Re: How to port a python package to a embedded system

2017-04-25 Thread MRAB
On 2017-04-25 07:28, chenchao wrote: Hi, all: I installed it by 'pip install numpy' or 'python setup.cfg install' on my PC, but I do not know how to do this on my arm board. Because of my arm board does not have tool of pip. could you please tell me any idea? Thanks! This might help: H

Quote of the week

2017-04-25 Thread Steve D'Aprano
"If it's not important enough to require tests it's not important enough to be in Python." -- Ethan Furman https://mail.python.org/pipermail/python-committers/2017-April/004436.html -- Steve “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse.

Re: How to port a python package to a embedded system

2017-04-25 Thread alister
On Mon, 24 Apr 2017 22:04:09 -0400, chenchao wrote: > Hi, everybody: > > I have x-compiled the cpython-2.7.10 and ported it on my ARM > board(it is not the Raspberry Pi and the Beaglebone Black). But now, I > have to use numpy python package on my board. So how do i x-compile this > packag