diff --git a/setup.py b/setup.py
index 1b277b9..1f6d712 100644
--- a/setup.py
+++ b/setup.py
@@ -1,29 +1,6 @@
import os
from setuptools import setup
import versioneer
-import warnings
-
-# from https://stackoverflow.com/a/9079062
-import sys
-if sys.version_info[0] < 3:
- raise Exception("fenicsprecice only supports Python3. Did you run $python setup.py