-
Notifications
You must be signed in to change notification settings - Fork 10
Drop setup_requires #44
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
base: master
Are you sure you want to change the base?
Conversation
setup_requires dependencies should only list those dependencies that are required by the `setup.py` script itself. This reduces installation time under some circumstances, and will also simplify the Bioconda package.
|
Sounds useful. Is anything blocking this from being accepted? |
|
I didn't get it to work on my current system based on ubuntu 16.04 with the following setup:
Any suggestion? |
|
@SooLee In which way is it not working? I cloned the repo, removed The |
|
That didn't work for me, either. I get this numpy not found error. Ideally, it should work without doing an additional pip install. Is this change necessary (e.g. it doesn't work without this change)? If not, I will leave it at the back burner for now and come back to it when I have more time. |
|
When running the program, run it with This PR is just about incorrect metadata. The installation is doing too much work. The program works whether you fix this not, it just makes life harder when packaging for Bioconda.
Of course, but even without this PR, it is needed. This PR doesn’t change that. You probably don’t notice it in your day to day development work because you already have Cython installed. But anyone else will need it. |
|
I’m of course fine with this sitting here until you have more time. |
|
Are you trying to package hic2cool along with other packages? It looks like hic2cool bioconda package already exists. This works for me. By the way, I always work inside a Docker image to make sure it starts in a fresh environment. Maybe you can try it. Something may be missing from my environment. It doesn't work if I remove |
Yes, the package exists. I was reviewing the PR bioconda/bioconda-recipes#20462 and noticed that the I was able to reproduce your error message using the commands that you gave. I noticed that you use There are a couple of web pages describing why TL; DR Please switch to |
setup_requiresshould only contain those dependencies that are required by thesetup.pyscript itself. Since thesetup.pyscript doesn’t actually import any of the dependencies in therequireslist,setup_requirescan be removed entirely. This reduces installation time under some circumstances, and will also simplify the Bioconda package.