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

Please add variables that control docs and examples install #281

Open
yurivict opened this issue Feb 23, 2018 · 2 comments
Open

Please add variables that control docs and examples install #281

yurivict opened this issue Feb 23, 2018 · 2 comments

Comments

@yurivict
Copy link

In the FreeBSD port we only need to install docs and examples when corresponding port options are chosen.
Currently, we have to patch setup.py to achieve this.
It would have been much nicer if corresponding build variables could be passed to setup.py.

@meejah
Copy link
Owner

meejah commented Feb 24, 2018

Hi. I'm definitely not opposed to making those things optional -- is there already a 'standard' way to do this with setuptools / setup.py that would work for your use-case?

@yurivict
Copy link
Author

I am not sure if there is a standard way.
You can do --enable-docs/--disable-docs and --enable-examples/--disable-examples.

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

No branches or pull requests

2 participants