Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setuptools... #7

Open
goschtl opened this issue Aug 1, 2016 · 1 comment
Open

setuptools... #7

goschtl opened this issue Aug 1, 2016 · 1 comment

Comments

@goschtl
Copy link

goschtl commented Aug 1, 2016

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

@amol-
Copy link
Owner

amol- commented Aug 7, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants