You should be able to add those files to source distributions by editing the MANIFEST.in
file to add a line like:
recursive-include someproject/static *.js
or just:
include someproject/static/javascript/*.js
This will be enough to get the files included in source distributions. If the setuptools include_package_data
option you're using isn't enough to get the files installed, you can ask for them to be installed explicitly with something like this in your setup.py
:
package_data={'someproject': ['static/javascript/*.js']},