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

Extra requirements feature added, consistent with current requirement files #291

Merged
merged 3 commits into from
Jul 3, 2020

Conversation

36000
Copy link
Collaborator

@36000 36000 commented Jul 2, 2020

setup.py now looks for files of the form 'requirements-*.txt' and uses them for the EXTRAS_REQUIRE argument.
Currently allows: pip install 'pyAFQ[dev]'
Automatically finds more extra setups when new files are added.
For example, if requirements-fury.txt were added, this would find that file and make a 'pyAFQ[fury]' extra setup.

@pep8speaks
Copy link

pep8speaks commented Jul 2, 2020

Hello @36000! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-07-02 21:43:43 UTC

@36000
Copy link
Collaborator Author

36000 commented Jul 2, 2020

Should there be an extra_requirements folder to put potential new requirements in?

@36000
Copy link
Collaborator Author

36000 commented Jul 2, 2020

@arokem what do you think of this setup? Should we do this or just replicate cloudknot i.e. get rid of requirement files.

Copy link
Collaborator

@arokem arokem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah - looks good. Small suggestion on file-name processing.

setup.py Outdated Show resolved Hide resolved
@arokem
Copy link
Collaborator

arokem commented Jul 2, 2020

To answer your question: we can merge this for now. Let's keep in mind that we might want to eventually switch to a setup.py/setup.cfg format (see pybids, as an example of that).

@arokem arokem merged commit 35f2bed into yeatmanlab:master Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants