Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Okay, it's unacceptable. Now what? Sadly, we (you, I, the Python leadership) can't just visit every single Python package publisher/maintainer and ask politely but firmly ask them to fix their packaging issues. And even if we could, at least half of them would either ignore us or would mess up in some new, exciting ways while trying to adapt to the flavour du jour of Python packaging.


I think the answer is to not have a flavour du jour. Pick one, crown it the winner, document it well and give it some time. If the solution is always changing, nobody is going to want to put the effort in.


This is exactly our problem. We develop a couple of packages (which we don’t put on PyPI so any security issue is affects nobody except us). But it’s not our job and we cannot justify someone spending too much time on this. I have a look every now and then to try to figure out what we’re supposed to do, but there are 154 solutions, some of them are outdated and unmaintained, some of them are broken in more or less subtle ways, and some of them have a bare minimum of documentation. So yeah. We’ll change when we have a clear, documented path forward.


Just put your package folder into a tarball as-is; to install, execute

    tar xzf our_custom_package.tar.gz -C "$(python3 -c 'import sysconfig; print(sysconfig.get_path("platlib"))')"
I'm only half-joking.


> I think the answer is to not have a flavour du jour. Pick one, crown it the winner, document it well and give it some time.

It has been done with distutils: it has been around for more than a decade. The result is the ecosystem that you are complaining about.


This is really a great idea. Once we finalize the choice, when can we expect the upload into the hivemind?


Right after the maintainers of libtelepathy.so release the version with Discord support.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: