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 Nov 30, 2017
1 parent 8139bec commit d0d96bb
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 @@ -260,9 +260,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 d0d96bb

Please sign in to comment.