|
2 | 2 | import os |
3 | 3 | import sys |
4 | 4 | import subprocess |
5 | | -from setuptools import setup, find_packages, Extension |
| 5 | +from setuptools import setup, Extension |
6 | 6 | from setuptools.command.build_ext import build_ext |
7 | 7 |
|
| 8 | + |
8 | 9 | # Convert distutils Windows platform specifiers to CMake -A arguments |
9 | 10 | PLAT_TO_CMAKE = { |
10 | 11 | "win32": "Win32", |
@@ -80,34 +81,11 @@ def build_extension(self, ext): |
80 | 81 | ["cmake", "--build", ".", "--parallel", "4"] + build_args, cwd=self.build_temp |
81 | 82 | ) |
82 | 83 |
|
| 84 | + |
| 85 | + |
83 | 86 | setup( |
84 | | - name='pyapr', |
85 | 87 | ext_modules=[CMakeExtension('_pyaprwrapper')], |
86 | 88 | cmdclass={ |
87 | 89 | 'build_ext': CMakeBuild, |
88 | | - }, |
89 | | - packages=find_packages(), |
90 | | - install_requires=[ |
91 | | - 'numpy', |
92 | | - 'scikit-image', |
93 | | - 'PyQt5', |
94 | | - 'pyqtgraph', |
95 | | - 'matplotlib' |
96 | | - ], |
97 | | - description='Python wrappers for LibAPR', |
98 | | - long_description="long_description", |
99 | | - url='https://github.com/joeljonsson/PyLibAPR', |
100 | | - author='Joel Jonsson, Bevan Cheeseman', |
101 | | - author_email='jonsson@mpi-cbg.de', |
102 | | - license='Apache-2.0', |
103 | | - classifiers=[ |
104 | | - 'Development Status :: 1 - Planning', |
105 | | - 'Intended Audience :: Developers', |
106 | | - 'License :: OSI Approved :: Apache Software License', |
107 | | - 'Programming Language :: Python :: 3.7', |
108 | | - 'Programming Language :: Python :: 3.8', |
109 | | - 'Programming Language :: Python :: 3.9', |
110 | | - ], |
111 | | - keywords='LibAPR, PyLibAPR, APR', |
112 | | - zip_safe=False |
| 90 | + } |
113 | 91 | ) |
0 commit comments