Skip to content

Commit

Permalink
Fix itertools import
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Gonzalez-Martin committed Oct 31, 2019
1 parent 60108bd commit f14ccef
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import os
from itertools.chain import from_iterable
from itertools import chain
from setuptools import find_packages, setup

version = {}
Expand All @@ -9,7 +9,8 @@

# Extra dependencies, with special 'all' key
extras = {"tensorflow": ["tensorflow"], "gcs": ["google-cloud-storage >= 1.16.0"]}
extras["all"] = list(set(from_iterable(extras.values())))
all_extra_deps = chain.from_iterable(extras.values())
extras["all"] = list(set(all_extra_deps))

setup(
name="seldon-core",
Expand Down

0 comments on commit f14ccef

Please sign in to comment.