Skip to content

Commit

Permalink
updated setup.py following the official one
Browse files Browse the repository at this point in the history
  • Loading branch information
matsui528 committed Nov 2, 2023
1 parent 3d7be66 commit f2adda9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pybind11.setup_helpers import Pybind11Extension, build_ext
from setuptools import setup, Extension, find_packages
from setuptools.command.build_ext import build_ext
import sys
import setuptools
import re
Expand All @@ -19,7 +19,7 @@


ext_modules = [
Extension(
Pybind11Extension(
'main',
['src/main.cpp',
'src/pqkmeans.cpp'], # For c++ pqkmeans
Expand Down Expand Up @@ -115,7 +115,7 @@ def build_extensions(self):
install_requires=requirements,
setup_requires=['pybind11>=2.9'],
ext_modules=ext_modules,
cmdclass={'build_ext': BuildExt},
cmdclass={'build_ext': build_ext},
zip_safe=False,
python_requires=">=3.6",
)

0 comments on commit f2adda9

Please sign in to comment.