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

add test_req #1336

Merged
merged 2 commits into from
May 19, 2017
Merged

add test_req #1336

merged 2 commits into from
May 19, 2017

Conversation

menshikh-iv
Copy link
Contributor

Add tests_require to setup.py
The reason is python setup.py test don't install test dependencies if test_require not presented

@menshikh-iv menshikh-iv requested a review from tmylk May 18, 2017 15:34
setup.py Outdated
'Morfessor==2.0.2a4',
'scikit-learn',
'pyemd'
],
extras_require={
'distributed': ['Pyro4 >= 4.27'],
'wmd': ['pyemd >= 0.2.0'],
'test': [
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove [test] option

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's better that I remove the duplication of the list of libraries (use common variable) because the option [test] is very convenient for some cases.

@tmylk tmylk merged commit 08872c0 into develop May 19, 2017
@tmylk tmylk deleted the add-test-req branch May 19, 2017 07:31
@@ -226,6 +226,12 @@ def finalize_options(self):
"""


test_env = ['testfixtures',
Copy link
Owner

Choose a reason for hiding this comment

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

Hanging indent please, not vertical (everywhere).

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.

3 participants