Skip to content

Commit 2186a38

Browse files
committed
Remove checks in setup.py
1 parent 25f94f1 commit 2186a38

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

setup.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,6 @@
77
import subprocess
88
import sys
99

10-
if platform.system() == "Darwin":
11-
major_version = int(platform.mac_ver()[0].split(".")[0])
12-
if major_version < 12:
13-
raise OSError("You are using an EOL, unsupported, and out-of-date OS.")
14-
15-
16-
def is_virtualenv():
17-
return sys.base_prefix != sys.prefix
18-
19-
20-
if not (os.getenv("GITHUB_ACTIONS") == "true" or is_virtualenv()):
21-
raise ValueError("You are not using a virtual environment")
22-
23-
2410
from Cython.Build import cythonize
2511
from Cython.Compiler.AutoDocTransforms import EmbedSignature
2612
from setuptools import Extension, find_packages, setup

0 commit comments

Comments
 (0)