extras_require in setup.py#5408
Merged
Merged
Conversation
Contributor
|
does this break later upgrading any dependencies the way |
Member
Author
|
Just checked it - no, if some other package will override dependencies specified in CKAN's |
wardi
reviewed
May 26, 2020
| ('setuptools', 'requirement-setuptools.txt'), ('dev', 'dev-requirements.txt'), | ||
| ] | ||
| for group, filepath in _extras_groups: | ||
| with open(filepath, 'r') as f: |
Contributor
There was a problem hiding this comment.
this assumes you're running setup.py from the same working directory. better to use the path of the current module to be safe
Member
Author
There was a problem hiding this comment.
Updated. I'm usually using pip install -e ... which implicitly changes directory to the package root before installation, so I didn't notice the problem, even though I've installed it from outside of CKAN's repo.
amercader
added a commit
that referenced
this pull request
Nov 10, 2020
amercader
added a commit
that referenced
this pull request
Jan 15, 2021
amercader
added a commit
that referenced
this pull request
May 14, 2021
amercader
added a commit
that referenced
this pull request
May 14, 2021
fostermh
pushed a commit
to cioos-siooc/ckan
that referenced
this pull request
Sep 10, 2021
… actions using pip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow installation of requirements without any additional actions using pip(fetch requirements.txt, etc).
For example:
For testing, try to use my fork: