Skip to content

Commit

Permalink
BLD: Don't include setup_requires since we'll complain earlier
Browse files Browse the repository at this point in the history
if they're missing
  • Loading branch information
richafrank committed Jul 3, 2018
1 parent 028f1b4 commit 54e5c9e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,10 @@ def setup_requirements(requirements_path, module_names, strict_bounds,
conda_format=conda_build,
)

conditional_arguments = {
'setup_requires' if not conda_build else 'build_requires': setup_requires,
}
conditional_arguments = (
{'build_requires': setup_requires} if conda_build else {}
)


setup(
name='zipline',
Expand Down

0 comments on commit 54e5c9e

Please sign in to comment.