diff --git a/setup.py b/setup.py index 2189a1780..0da075f07 100755 --- a/setup.py +++ b/setup.py @@ -111,7 +111,11 @@ "grpcio", "google-cloud-compute", # requires minimum python3.7 ], - "snappy": ["python-snappy==0.6.1"], + "snappy": [ + 'python-snappy==0.6.1; python_version<"3.7"', + 'python-snappy; python_version>="3.7"', + 'cramjam >= 2.7.0; python_version>="3.7"', + ], }, platforms=["Linux", "Mac OS X"], classifiers=[