From f0a3bf0d65171cc5343133ef0e17aa7fff09a4a9 Mon Sep 17 00:00:00 2001 From: Eugene Teoh <50418168+eugeneteoh@users.noreply.github.com> Date: Fri, 21 Jun 2024 20:57:42 +0100 Subject: [PATCH] Update pyrep dependency with cffi fix branch --- setup.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/setup.py b/setup.py index 869f2a3d6..489099251 100644 --- a/setup.py +++ b/setup.py @@ -1,15 +1,5 @@ import codecs import os.path - -# cffi required by pyrep -# dynamically install cffi before anything else -try: - import cffi -except ImportError: - import subprocess - import sys - subprocess.check_call([sys.executable, '-m', 'pip', 'install', 'cffi==1.14.2']) - from setuptools import setup @@ -34,7 +24,7 @@ def get_version(rel_path): raise RuntimeError("Unable to find version string.") core_requirements = [ - "pyrep @ git+https://github.com/stepjam/PyRep.git@fe521cedbf608ed81593241779692c48962ac4cb", + "pyrep @ git+https://github.com/stepjam/PyRep.git@fix-cffi-dependency", "numpy", "Pillow", "pyquaternion",