dukpy
dukpy copied to clipboard
setuptools...
Hi,
is (and how) it possible to specify my js-requirements in setup.py. Do you have a simple example for that? Is there a hook or something i can register the install_jspackage in an smart way.
thanks in advance
While I usually tend to distribute the js_vendor
directory as a package resource it should be possible to have the JS dependencies downloaded at install time by relying on setup_requires
feature of setuptools.
DukPY would be able to register a distutils extension through it and install the dependencies provided by a specific setup()
option. See http://setuptools.readthedocs.io/en/latest/setuptools.html#adding-setup-arguments
If anyone is willing to contribute this I'll gladly review and accept it, currently it's not a priority for me as I prefer distributing JS dependencies as package resources.