From 4ec20c8cdfef8be1062bdd7ca874b8ea99f7e469 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Sat, 10 Oct 2020 15:38:24 +0200 Subject: [PATCH] manylinux: setup.py & project.toml --- docker/manylinux2014/config/eigenpy/setup.py | 23 +++++++++++++++++++ docker/manylinux2014/config/hpp-fcl/setup.py | 23 +++++++++++++++++++ .../manylinux2014/config/pinocchio/setup.py | 23 +++++++++++++++++++ docker/manylinux2014/scripts/pyproject.toml | 2 ++ 4 files changed, 71 insertions(+) create mode 100644 docker/manylinux2014/config/eigenpy/setup.py create mode 100644 docker/manylinux2014/config/hpp-fcl/setup.py create mode 100644 docker/manylinux2014/config/pinocchio/setup.py create mode 100644 docker/manylinux2014/scripts/pyproject.toml diff --git a/docker/manylinux2014/config/eigenpy/setup.py b/docker/manylinux2014/config/eigenpy/setup.py new file mode 100644 index 0000000..88628ac --- /dev/null +++ b/docker/manylinux2014/config/eigenpy/setup.py @@ -0,0 +1,23 @@ +from skbuild import setup + +try: + with open("README.md", "r") as f: + long_description = f.read() +except FileNotFoundError: + long_description = "" + +setup( + name="eigenpy", + version="2.5.0", + description="Bindings between Numpy and Eigen using Boost.Python", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/stack-of-tasks/eigenpy", + install_requires=['numpy'], + cmake_minimum_required_version='3.1', + classifiers=[ + "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", + "License :: OSI Approved :: BSD License", "Operating System :: POSIX :: Linux" + ], + python_requires='>=2.7', +) diff --git a/docker/manylinux2014/config/hpp-fcl/setup.py b/docker/manylinux2014/config/hpp-fcl/setup.py new file mode 100644 index 0000000..4dd6941 --- /dev/null +++ b/docker/manylinux2014/config/hpp-fcl/setup.py @@ -0,0 +1,23 @@ +from skbuild import setup + +try: + with open("README.md", "r") as f: + long_description = f.read() +except FileNotFoundError: + long_description = "" + +setup( + name="hpp-fcl", + version="1.6.0", + description="HPP fork of FCL -- The Flexible Collision Library", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/humanoid-path-planner/hpp-fcl", + install_requires=['eigenpy'], + cmake_minimum_required_version='3.1', + classifiers=[ + "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", + "License :: OSI Approved :: BSD License", "Operating System :: POSIX :: Linux" + ], + python_requires='>=2.7', +) diff --git a/docker/manylinux2014/config/pinocchio/setup.py b/docker/manylinux2014/config/pinocchio/setup.py new file mode 100644 index 0000000..ac8487b --- /dev/null +++ b/docker/manylinux2014/config/pinocchio/setup.py @@ -0,0 +1,23 @@ +from skbuild import setup + +try: + with open("README.md", "r") as f: + long_description = f.read() +except FileNotFoundError: + long_description = "" + +setup( + name="pinocchio", + version="2.5.0", + description="A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives", + long_description=long_description, + long_description_content_type="text/markdown", + url="https://github.com/stack-of-tasks/pinocchio", + install_requires=['hpp-fcl'], + cmake_minimum_required_version='3.1', + classifiers=[ + "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", + "License :: OSI Approved :: BSD License", "Operating System :: POSIX :: Linux" + ], + python_requires='>=2.7', +) diff --git a/docker/manylinux2014/scripts/pyproject.toml b/docker/manylinux2014/scripts/pyproject.toml new file mode 100644 index 0000000..7533528 --- /dev/null +++ b/docker/manylinux2014/scripts/pyproject.toml @@ -0,0 +1,2 @@ +[build-system] +requires = ["setuptools", "wheel", "scikit-build", "cmake", "ninja"] -- GitLab