Skip to content

Commit

Permalink
Fix cffi dependency (#380)
Browse files Browse the repository at this point in the history
* Fix cffi dependency

* Quick update
  • Loading branch information
eugeneteoh committed Jul 2, 2024
1 parent fe521ce commit 3b23367
Showing 1 changed file with 26 additions and 27 deletions.
53 changes: 26 additions & 27 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import codecs
import os
import os.path
from os.path import join

from setuptools import setup

import cffi_build.cffi_build as cffi_build


def read(rel_path):
here = os.path.abspath(os.path.dirname(__file__))
Expand Down Expand Up @@ -38,27 +35,29 @@ def get_version(rel_path):
f.write('\nallowOldEduRelease=7501\n')


setup(name='PyRep',
# Version A.B.C.D.
# A.B.C info corresponds to the CoppeliaSim version needed.
# D info corresponds to the PyRep version.
version=get_version("pyrep/__init__.py"),
description='Python CoppeliaSim wrapper',
author='Stephen James',
author_email='slj12@ic.ac.uk',
url='https://www.doc.ic.ac.uk/~slj12',
packages=['pyrep',
'pyrep.backend',
'pyrep.objects',
'pyrep.sensors',
'pyrep.robots',
'pyrep.robots.arms',
'pyrep.robots.end_effectors',
'pyrep.robots.mobiles',
'pyrep.robots.configuration_paths',
'pyrep.textures',
'pyrep.misc',
],
ext_modules=[cffi_build.ffibuilder.distutils_extension(
join('build', 'pyrep', 'backend'))],
)
setup(
name='PyRep',
# Version A.B.C.D.
# A.B.C info corresponds to the CoppeliaSim version needed.
# D info corresponds to the PyRep version.
version=get_version("pyrep/__init__.py"),
description='Python CoppeliaSim wrapper',
author='Stephen James',
author_email='slj12@ic.ac.uk',
url='https://www.doc.ic.ac.uk/~slj12',
packages=['pyrep',
'pyrep.backend',
'pyrep.objects',
'pyrep.sensors',
'pyrep.robots',
'pyrep.robots.arms',
'pyrep.robots.end_effectors',
'pyrep.robots.mobiles',
'pyrep.robots.configuration_paths',
'pyrep.textures',
'pyrep.misc',
],
setup_requires=["cffi>=1.0.0"],
cffi_modules=["cffi_build/cffi_build.py:ffibuilder"],
install_requires=["cffi>=1.0.0"],
)

0 comments on commit 3b23367

Please sign in to comment.