#whatamess

georgehank@pluspora.com

It's amazing how unpythonic (and un-Zen-Of-Python) Python packaging is (and has become over time).
I'm trying to make a simple distribution for a single-module non-package.
I'm getting an error "DistutilsFileError: package directory […] does not exist.
Somehow it implicitly derives that package directory from the single module I list in py_modules in the setup.py, obviously by removing the .py ending. I never mention this directory myself ANYWHERE.
All the longer more detailed examples I can find only deal with actual packages, and mention single-module distributions only in passing.

frustrated-ly y'rs - jae

#obhashtags #python #pythonic #unpythonic #packaging #setuptools #whatamess #missthesimplerdays #noloveforthehobbydev