From 24bd93043ec05d50ef799ce3e634f312cc1195f5 Mon Sep 17 00:00:00 2001 From: Piv <18462828+Piv200@users.noreply.github.com> Date: Thu, 6 Feb 2020 21:05:25 +1030 Subject: [PATCH] Remove breezyslam setup file --- breezyslam/setuppip.py | 51 ------------------------------------------ 1 file changed, 51 deletions(-) delete mode 100644 breezyslam/setuppip.py diff --git a/breezyslam/setuppip.py b/breezyslam/setuppip.py deleted file mode 100644 index 80ba733..0000000 --- a/breezyslam/setuppip.py +++ /dev/null @@ -1,51 +0,0 @@ -from setuptools import setup, find_packages - -from platform import machine - -OPT_FLAGS = [] -SIMD_FLAGS = [] - -arch = machine() - -print(arch) - -if arch in ['i686', 'x86_64']: - SIMD_FLAGS = ['-msse3'] - arch = 'i686' - -elif arch == 'armv7l': - OPT_FLAGS = ['-O3'] - SIMD_FLAGS = ['-mfpu=neon'] - -else: - arch = 'sisd' - -SOURCES = [ - 'pybreezyslam.c', - 'pyextension_utils.c', - '../c/coreslam.c', - '../c/coreslam_' + arch + '.c', - '../c/random.c', - '../c/ziggurat.c'] - -from setuptools.extension import Extension - -module = Extension('pybreezyslam', - sources = SOURCES, - extra_compile_args = ['-std=gnu99'] + SIMD_FLAGS + OPT_FLAGS - ) - -setup( - name='BreezySLAM', - version='0.1', - author="Michael Pivato", - author_email="m.pivato@hotmail.com", - description="Simple, efficient SLAM in Python", - packages=find_packages(), - ext_modules = [module], - classifiers=[ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - ], - ) \ No newline at end of file