From 8b7a432016861efe6010745b7611b3a6f565a773 Mon Sep 17 00:00:00 2001 From: Alex Kaszynski Date: Tue, 26 Nov 2024 09:17:02 -0700 Subject: [PATCH] bump to v0.2.2 --- setup.py | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/setup.py b/setup.py index a5d169a..0fe5f1a 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ """Setup for pymagsac.""" + import sys from setuptools import setup, find_packages @@ -7,28 +8,31 @@ try: from skbuild import setup except ImportError: - print("Please update pip to pip 10 or greater, or a manually install the PEP 518 requirements in pyproject.toml", file=sys.stderr) + print( + "Please update pip to pip 10 or greater, or a manually install the PEP 518 requirements in pyproject.toml", + file=sys.stderr, + ) raise cmake_args = [] debug = False -cfg = 'Debug' if debug else 'Release' -cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg] -cmake_args += ['-DCREATE_SAMPLE_PROJECT=OFF'] # <-- Disable the sample project - +cfg = "Debug" if debug else "Release" +cmake_args += ["-DCMAKE_BUILD_TYPE=" + cfg] +cmake_args += ["-DCREATE_SAMPLE_PROJECT=OFF"] # <-- Disable the sample project + setup( - name='pymagsac', - version='0.2.1', - author='Daniel Barath, Dmytro Mishkin', - author_email='barath.daniel@sztaki.hu', - description='MAGSAC and MAGSAC++', + name="pymagsac", + version="0.2.2", + author="Daniel Barath, Dmytro Mishkin", + author_email="barath.daniel@sztaki.hu", + description="MAGSAC and MAGSAC++", long_description=open("README.md").read(), long_description_content_type="text/markdown", - packages=find_packages('src'), - package_dir={'':'src'}, + packages=find_packages("src"), + package_dir={"": "src"}, cmake_args=cmake_args, cmake_install_dir="src/pymagsac", - cmake_install_target='install', + cmake_install_target="install", zip_safe=False, install_requires="numpy", )