Packaging package not being bundled with deploy-ng build


#1

Steps to reproduce (python 3.7 on Ubuntu 18.04):

git clone https://github.com/hpoggie/underlord-client.git
git checkout effects
pip install -r requirements.txt
python setup.py build_apps
build/manylinux1_x86_64/Underlord

This gives the following error:

ImportError: The 'packaging' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.

This is caused by trying to import https://github.com/hpoggie/panda3d-particles which uses pkg_resources to load some stuff. Unfortunately packaging doesn’t seem to get bundled with the build. Is this a bug or am I missing something? I’ve tried adding packaging to include_modules in my setup.py.