Skip to content

Remove checks in setup.py #1947

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,6 @@
import subprocess
import sys

if platform.system() == "Darwin":
major_version = int(platform.mac_ver()[0].split(".")[0])
if major_version < 12:
raise OSError("You are using an EOL, unsupported, and out-of-date OS.")


def is_virtualenv():
return sys.base_prefix != sys.prefix


if not (os.getenv("GITHUB_ACTIONS") == "true" or is_virtualenv()):
raise ValueError("You are not using a virtual environment")


from Cython.Build import cythonize
from Cython.Compiler.AutoDocTransforms import EmbedSignature
from setuptools import Extension, find_packages, setup
Expand Down
Loading