Skip to content

Commit

Permalink
bump to v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
akaszynski committed Nov 26, 2024
1 parent d26dcf2 commit 8b7a432
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Setup for pymagsac."""

import sys

from setuptools import setup, find_packages
Expand All @@ -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",
)

0 comments on commit 8b7a432

Please # to comment.