-
Notifications
You must be signed in to change notification settings - Fork 134
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
Use setup.py
for optional requirements instead of requirements-dev.txt
#117
Conversation
Codecov Report
@@ Coverage Diff @@
## master #117 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 181 181
=========================================
Hits 181 181 Continue to review full report at Codecov.
|
|
||
- name: Install dev requirements | ||
run: pip install -r requirements-dev.txt | ||
run: pip install .[all] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just curious, what happens if I run pip install .
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pip install .
installs the minimum requirements. In this case, no other libraries are installed as dependencies. The options are given in the setup.py
file:
extras_require={
'numpy': ['numpy'],
'test': ['pytest', 'pytest-cov', 'flake8'],
'all': ['numpy', 'pytest', 'pytest-cov', 'flake8'],
},
No description provided.