Re: building 3.7.1 from source, _ctypes and libffi troubles

2018-12-25 Thread Fetchinson . via Python-list
>> And as far as I know pkg-config is used by python's configure script >> so everything should be fine. I also set >> LD_LIBRARY_PATH=/home/fetch/opt/lib:/home/fetch/opt/lib64 and also >> C_INCLUDE_PATH=/home/fetch/opt/include > > I looked into this a little. I found that setting C_INCLUDE_PATH as

Re: building 3.7.1 from source, _ctypes and libffi troubles

2018-12-20 Thread Fetchinson . via Python-list
On 12/20/18, Fetchinson . wrote: > Hi all, I'm trying to build 3.7.1 from source and having trouble with > libffi and _ctypes. I'm on linux and have installed libffi also from > source to a custom location: > > $HOME/opt/lib64/libffi.so.6.0.4 > $HOME/opt/lib64/libffi.a > $HOME/opt/lib64/libffi.la

building 3.7.1 from source, _ctypes and libffi troubles

2018-12-20 Thread Fetchinson . via Python-list
Hi all, I'm trying to build 3.7.1 from source and having trouble with libffi and _ctypes. I'm on linux and have installed libffi also from source to a custom location: $HOME/opt/lib64/libffi.so.6.0.4 $HOME/opt/lib64/libffi.a $HOME/opt/lib64/libffi.la $HOME/opt/lib64/libffi.so.6 $HOME/opt/lib64/lib

Re: So apparently I've been banned from this list

2018-10-01 Thread Fetchinson . via Python-list
On 10/1/18, Roel Schroeven wrote: > jkn schreef op 1/10/2018 om 20:25: >> On Monday, October 1, 2018 at 6:57:30 PM UTC+1, Ethan Furman wrote: >>> On 09/30/2018 09:30 AM, Steven D'Aprano wrote: >>> Notwithstanding Ethan's comment about having posted the suspension notice on the list,

Re: compiling 3.7.0 from source with custom libffi path

2018-09-24 Thread Fetchinson . via Python-list
On 9/24/18, Thomas Jollans wrote: > On 2018-09-24 16:30, Fetchinson . via Python-list wrote: >> [fetch@fetch]$ grep LIBFFI_INCLUDE Makefile >> LIBFFI_INCLUDEDIR= /opt/custom/lib/libffi-3.2.1/include >> >> So I'd say everything should work but it doesn't,

Re: compiling 3.7.0 from source with custom libffi path

2018-09-24 Thread Fetchinson . via Python-list
On 9/24/18, Thomas Jollans wrote: > On 2018-09-24 14:14, Fetchinson . via Python-list wrote: >>>> I'm trying to compile python 3.7.0 from source with a custom libffi >>>> path and the compiler/linker doesn't seem to pick up the right >>>> versio

Re: compiling 3.7.0 from source with custom libffi path

2018-09-24 Thread Fetchinson . via Python-list
>> I'm trying to compile python 3.7.0 from source with a custom libffi >> path and the compiler/linker doesn't seem to pick up the right >> version. The system libffi doesn't have the development files so I've >> installed the latest libffi (also from source) to /opt/custom but >> still I get >> >>

compiling 3.7.0 from source with custom libffi path

2018-09-24 Thread Fetchinson . via Python-list
I'm trying to compile python 3.7.0 from source with a custom libffi path and the compiler/linker doesn't seem to pick up the right version. The system libffi doesn't have the development files so I've installed the latest libffi (also from source) to /opt/custom but still I get INFO: Could not loc

Re: How to make python pick up my new-and-shiny openssl shared object

2018-08-08 Thread Fetchinson . via Python-list
On 8/8/18, Christian Heimes wrote: > On 2018-08-08 00:07, Fetchinson . via Python-list wrote: >> The highest version of openssl available on my system is 1.0.0 which >> is not good enough for pip these days (or github for that matter). So >> I've installed 1.1.0 to a c

How to make python pick up my new-and-shiny openssl shared object

2018-08-07 Thread Fetchinson . via Python-list
The highest version of openssl available on my system is 1.0.0 which is not good enough for pip these days (or github for that matter). So I've installed 1.1.0 to a custom location /home/fetch/opt. But if I do import ssl ssl.OPENSSL_VERSION it still shows me that it is using the system default 1.

Re: why does memory consumption keep growing?

2017-10-05 Thread Fetchinson . via Python-list
On 10/5/17, Chris Angelico wrote: > On Fri, Oct 6, 2017 at 8:06 AM, Fetchinson . via Python-list > wrote: >> Hi folks, >> >> I have a rather simple program which cycles through a bunch of files, >> does some operation on them, and then quits. There are 500 files

why does memory consumption keep growing?

2017-10-05 Thread Fetchinson . via Python-list
Hi folks, I have a rather simple program which cycles through a bunch of files, does some operation on them, and then quits. There are 500 files involved and each operation takes about 5-10 MB of memory. As you'll see I tried to make every attempt at removing everything at the end of each cycle so

Re: non-standard glibc location

2017-09-07 Thread Fetchinson . via Python-list
On 9/7/17, Thomas Jollans wrote: > On 2017-09-06 16:14, Fetchinson . via Python-list wrote: >> Hi folks, >> >> I'm trying to install a binary package (tensorflow) which contains >> some binary C extensions. Now my system glibc is 2.15 but the binaries >

non-standard glibc location

2017-09-06 Thread Fetchinson . via Python-list
Hi folks, I'm trying to install a binary package (tensorflow) which contains some binary C extensions. Now my system glibc is 2.15 but the binaries in the C extensions were created (apparently) with glibc 2.17. So I thought no problemo I installed glibc 2.17 to a custom location, built python2.7 f

Re: web facing static text db

2016-04-30 Thread Fetchinson . via Python-list
On 4/30/16, Gordon Levi wrote: > "Fetchinson ." wrote: > >>Hi folks, >> >>I have a very specific set of requirements for a task and was >>wondering if anyone had good suggestions for the best set of tools: >> >>* store text documents (about 10 pages) >>* the data set is static (i.e. only look

web facing static text db

2016-04-29 Thread Fetchinson . via Python-list
Hi folks, I have a very specific set of requirements for a task and was wondering if anyone had good suggestions for the best set of tools: * store text documents (about 10 pages) * the data set is static (i.e. only lookups are performed, no delete, no edit, no addition) * only one operation