from setuptools import setup

setup(
    name = "nbupload",
    version = "0.0.1",
    author = "Atsushi Takayama",
    author_email = "taka.atsushi@gmail.com",
    description = ("An IPython Notebook widget for letting users upload a file"),
    license = "MIT",
    keywords = "ipython notebook",
    url = "https://github.com/edvakf/nbupload",
    packages=['nbupload'],
)

@@ -367,10 +367,83 @@
 load'%5D,%0A
+    package_data = %7B%0A        'nbupload': %5B'FileUploaderView.js'%5D,%0A    %7D,%0A
 )%0A

Include .js in package