Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to pip install ckan #4271
CKAN Version if known (or site URL)
Please describe the expected behaviour
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?
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
referenced this issue
Jun 6, 2018
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.