[07:50:54] <Oksana> Could you please help me to package a Python app with pex? It has one myapp.py, plus a directory myapp_src with __init__.py and other files. Usually I would run myapp.py and it would use myapp_src files, but I want to package this into myapp.pex
[07:51:08] <Oksana> And I get SyntaxError: invalid syntax ============================
[07:51:35] <Oksana> On line 2 of __main__.py inside myapp.pex
[08:07:58] <Xelnor> Oksana: I'm not familiar with pex, but are you sure you're running with the proper Python version? what is the contents of that __main__.py file?
[09:13:19] <aixtools> I am hoping someone here will be able to assist me in finding my way through, I expect, the pip download logic - for selecting what it downloads - in particular, when will it notice a wheel, rather than a source .gz, and after the download (of a wheel) are there any additional ways pip (could) verify that the wheel is applicable for the environment.
[09:14:50] <aixtools> other question: is there a mailing-list? I have not spotted it - yet.
[09:15:19] <aixtools> ignore that last question - found the mailing list.
[09:24:04] <pombreda> aixtools: re list: you can use distutils-sig or the newer discourse at https://discuss.python.org/
[09:25:06] <pombreda> aixtools: for a given version, the match of a wheel is based on markers
[09:31:07] <pombreda> actually rather tags: https://github.com/pypa/pip/blob/master/src/pip/_internal/pep425tags.py
[09:32:15] <aixtools> a) ok, I'll finish my emails into the googlelist, and then "copy" them to 'discuss'
[09:33:11] <aixtools> I have read PEP425 (and also the manylinux ones, the wheel ones) and, imho, the 'Platform Tag' for AIX is insufficient.
[09:33:45] <aixtools> My 'other' current question is how to search to see if anyone has ever uploaded a wheel for AIX.
[09:34:24] <aixtools> this would have the string aix_5_3, aix_6_1, aix_7_1, or aix_7_2 if they had.
[09:35:09] <aixtools> If noone has, then it may be much easier to propose changes to the Platform Tag for AIX - to something specific enough to actually be "safe" FOR USE.
[09:36:20] <pombreda> > imho, the 'Platform Tag' for AIX is insufficient. : that's very possible that's a less popular OS ;)
[09:37:17] <aixtools> Further, since IBM AIX has 'offered' binary compatibility guarantees from old to new - this implies that - packaged properly and aix_5_3 wheel should work directly on a system that would otherwise 'build' an aix_7_2 tagged wheel
[09:38:14] <aixtools> @pombreda - I concur - the tag for AIX - asis 'dangerous'
[09:39:21] <pombreda> aixtools: I can see only 23 packages aith an AIX classifier https://pypi.org/search/?c=Operating+System+%3A%3A+POSIX+%3A%3A+AIX :)
[09:40:57] <pombreda> aixtools: you could use a bigquery search to confirm this
[09:41:21] <aixtools> As to 'mainstream' - imho two things: IBM did not use it for there own software (as they did perl), so it has never come into the BOS that IBM supports; 2) people - like myself - who do package OSS for AIX are not really Python savvy - and we do things the way we already know - e.g., re-package 'installed' files as RPM or installp packages.
[09:43:17] <pombreda> aixtools: what is your quest?
[09:43:59] <aixtools> PyInstaller I recognize. Someone asked me a few weeks back to package it for them, and someone else, for paramiko (not in the list you sent).
[09:45:43] <aixtools> the ultimate - is to have wheels generated that can be used by AIX - and much more common than they are now. This is, imho, important, to better support virtualenv 'dependent' solutions.
[09:46:25] <aixtools> I know - a lot - about AIX, and am willing to focus some time on this.
[09:47:10] <aixtools> i.e., bring AIX into the Python way of thinking for module management.
[09:49:55] <aixtools> went to end of list - PSI 0.3b2, probably not a wheel - page say Last released "Nove 21, 2009"
[09:52:57] <aixtools> So, I am thinking the pages you have retuirned have only listed AIX in the 'supported platforms', not that a wheel or egg has been found.
[09:53:29] <pombreda> aixtools: another one would be to convert python packages or wheels to native OS packages. possibly with upt https://pypi.org/search/?q=upt and an AIX backend
[09:53:46] <pombreda> > I am thinking the pages you have retuirned have only listed AIX in the 'supported platforms' ==> correct
[09:54:07] <pombreda> there are no wheels PSI files https://pypi.org/project/PSI/#files
[09:56:45] <aixtools> can I use something such as http://x064:8441/root/pypi/+simple/ | grep aix_ to find 'all' packages that are AIX related?
[09:57:21] <aixtools> put "curl" in front of that...
[09:58:17] <pombreda> aixtools: the simple index will not have wheels nor tags
[10:00:14] <aixtools> when I loaded it yeaterday - in my browser - I thought it had everything in it. Unlike devpi use <index>; devpi list; devpi list cffi; etc..
[10:06:37] <aixtools> In any case, the expectation is a small number :)
[10:06:59] <pombreda> let me see. I may have a pypi index somewhere in a db :P
[10:07:53] <aixtools> that would be quicker, i recall over 190k items being 'whoosh'ed yesterday by the devpi-server I installed
[10:08:55] <aixtools> And, you are, of course :) - correct - it only shows the projct names, not the items in the directories.
[10:10:23] <pombreda> aixtools: the only wheel that has "aix" in its name is for https://pypi.org/project/algebraixlib/#files :D
[10:10:37] <pombreda> aixtools: so no aix tags alive there