-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Unable to pip install ckan #4271
Comments
I worked around this by downloading https://files.pythonhosted.org/packages/70/aa/b76a115c256b9cd3ccfe166e04949f0b1dcbde36133025f97535c1a8b942/ckan-2.8.0.tar.gz extracting and tweaking the setup.py to remove the requirement-setuptool check. I might as well have installed from source :( It is possible to specify the setup tools dependency in the setup.py instead of a separate file? |
This should do the trick to include the file in the packaged version: diff --git a/MANIFEST.in b/MANIFEST.in
index 37e122f..6f606ae 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -19,4 +19,4 @@ include CHANGELOG.txt
include ckan/migration/migrate.cfg
include ckan/migration/README
recursive-include ckan/migration/versions *.sql
-recursive-include ckan_deb *
+include requirement-setuptools.txt We don't really test installing via |
When attempting to `pip install ckan` it fails as the setup.py requires the requirement-setuptools.txt to be present, and it is not. This change makes sure that the pip install will not fail due to the absence of this file. This PR does not include the requirements.txt as this would likely require further discussion about how requirements are loaded. Fixes ckan#4271
PR sent. I have a few particular use-cases:
The second case isn't solved by my PR because it involves also having the requirements.txt included so that it can be installed at the same time. But I thought there'd likely need to be a much longer discussion about requirements and didn't want to delay getting my linter working when 2.8.1 is eventually ready. |
When attempting to `pip install ckan` it fails as the setup.py requires the requirement-setuptools.txt to be present, and it is not. This change makes sure that the pip install will not fail due to the absence of this file. This PR does not include the requirements.txt as this would likely require further discussion about how requirements are loaded. Fixes ckan#4271
When attempting to `pip install ckan` it fails as the setup.py requires the requirement-setuptools.txt to be present, and it is not. This change makes sure that the pip install will not fail due to the absence of this file. This PR does not include the requirements.txt as this would likely require further discussion about how requirements are loaded. Fixes #4271
When attempting to `pip install ckan` it fails as the setup.py requires the requirement-setuptools.txt to be present, and it is not. This change makes sure that the pip install will not fail due to the absence of this file. This PR does not include the requirements.txt as this would likely require further discussion about how requirements are loaded. Fixes ckan#4271
When attempting to `pip install ckan` it fails as the setup.py requires the requirement-setuptools.txt to be present, and it is not. This change makes sure that the pip install will not fail due to the absence of this file. This PR does not include the requirements.txt as this would likely require further discussion about how requirements are loaded. Fixes #4271
When attempting to `pip install ckan` it fails as the setup.py requires the requirement-setuptools.txt to be present, and it is not. This change makes sure that the pip install will not fail due to the absence of this file. This PR does not include the requirements.txt as this would likely require further discussion about how requirements are loaded. Fixes #4271
When attempting to `pip install ckan` it fails as the setup.py requires the requirement-setuptools.txt to be present, and it is not. This change makes sure that the pip install will not fail due to the absence of this file. This PR does not include the requirements.txt as this would likely require further discussion about how requirements are loaded. Fixes #4271
CKAN Version if known (or site URL)
2.8.0
Please describe the expected behaviour
I tried
pip install ckan
so that my linter would stop complaining (my actual ckan is in a VM) and I expected it to install CKAN.Please describe the actual behaviour
It appears that requirement-setuptools.txt is not part of the pypi package.
What steps can be taken to reproduce the issue?
Try running
pip install ckan
The text was updated successfully, but these errors were encountered: