To use or not to use: packaged flask

2017-01-12 Thread Alec Leamas
Hi out there! I'm dipping my toes in flask, completely newbie. Doing so, I see a lot of fedora flask packages, but no-one anywhere recommends using these - it's all about pypi. I "think" I prefer the packaged version, partly because I'm using another package with native code (which, as I und

Re: To use or not to use: packaged flask

2017-01-12 Thread Alec Leamas
On 12/01/17 11:53, Petr Viktorin wrote: On my Fedora 25, I can import flask.cli from the system packages just fine. But note that Fedora 24 has an older version of Flask packaged – one that doesn't include flask.cli yet. Ah... that sorts things out. Time to upgrade... > Packages with native

Re: To use or not to use: packaged flask

2017-01-12 Thread Alec Leamas
On 12/01/17 12:02, Alec Leamas wrote: It's "my" code, I'm upstream for an old package for which I'm about to add a python API. Haven't found any pointer how to make pypi package with linux native code... have you? At a second thought, I don't think I

newbie: Linking python C extensions blues

2017-01-13 Thread Alec Leamas
Still struggling with my first package. Don't know if this belong to this list (let me know if not) Anyway, I package the extension and make a 'pip install' which builds it. Linker command is: gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-x

Re: newbie: Linking python C extensions blues

2017-01-13 Thread Alec Leamas
On 13/01/17 15:55, Alec Leamas wrote: Still struggling with my first package. Don't know if this belong to this list (let me know if not) Thank you for listening... solved by a 'pip uninstall'. The beginning is hard. Cheers! -alec PS