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

simplify installation process #22

Closed
benvanwerkhoven opened this issue Nov 10, 2017 · 1 comment
Closed

simplify installation process #22

benvanwerkhoven opened this issue Nov 10, 2017 · 1 comment
Assignees

Comments

@benvanwerkhoven
Copy link
Collaborator

We can use the 'extras' feature inside setup.py to specify a number of extras that require optional dependencies.

Kernel Tuner has several optional dependencies, for example you could only be interested in tuning CUDA kernels, so it would not make sense to require OpenCL to be installed, or vice versa. You can read more about this in the install guide.

The idea is to turn these optional depencies into extras such that the user can install Kernel Tuner in a single command, instead of first installing Kernel Tuner and then having to also install all optional dependencies.

Currently we have a file called requirements-dev.txt for all the dependencies that are required to start developing Kernel Tuner. These could also be integrated using an 'extra'.

Please don't forget to update the install and contribution guides accordingly when you work on this issue.

@benvanwerkhoven benvanwerkhoven created this issue from a note in Team Project (To do) Nov 10, 2017
@benvanwerkhoven benvanwerkhoven moved this from To do to In progress in Team Project Nov 14, 2017
@felipeZ
Copy link
Contributor

felipeZ commented Nov 14, 2017

Using the extras_require for the Setuptools the new optional keywords for installation have been added:

  • doc: install requirements to build the documentation.
  • cuda: install pycuda dependency.
  • opencl: install pyopencl dependency.
  • tutorial: install dependencies to run the jupyter notebooks interactively.
  • dev: install all the libraries to further develop kernel_tuner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Team Project
  
Done
Development

No branches or pull requests

2 participants