diff --git a/setup.py b/setup.py index 97ad943f72..372286925d 100644 --- a/setup.py +++ b/setup.py @@ -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',