News for hackers. Stuff that matters.
Re:How I think I want to drop modern Python packages into a ... by nurettin on Thursday September 17, 2020 @01:42PM (#24507592)
The first thing I do when deploying to an existing machine/hard metal: I Grab the pyenv installer, set it up.

Then I build python on target machine.

   MAKE_OPTS="-j8" CONFIGURE_OPTS="--enable-shared --enable-optimizations --with-computed-gotos" CFLAGS="-march=native -O2 -pipe" pyenv install -f 3.8.5
This takes a while but end result is a well enough optimized python. I also replace standard asyncio loop with uvloop to speed things up a little for async tasks.
Re:How I think I want to drop modern Python packages into a ... by hprotagonist on Thursday September 17, 2020 @01:46PM (#24507658)
I don't usually go beyond --enable-shared, but yeah, me too.