HN2new | past | comments | ask | show | jobs | submitlogin

> Does anyone know if namespace packages actually work?

They used to work somewhat. I had flaskext.* registered as a namespace package but unfortunately it conflicts with pip which is why new Flask extensions name their package `flask_bar` instead of `flaskext.bar`. The exact problem is that setuptools uses pth magic to put libraries into a namespace package which conflicts with pip's idea of installing packages flat into site-packages.



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

Search: