Skip to content

Commit

Permalink
Merge pull request #42 from cair/install_fix2
Browse files Browse the repository at this point in the history
Install fix2
  • Loading branch information
perara authored Aug 28, 2023
2 parents 5e20d4b + b0fd5b9 commit 280def3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ def build_cffi():
include_dirs=[Path(include_dir).absolute()],
extra_compile_args=flags
)

ffibuilder.compile(verbose=True)
return ffibuilder



class TMUInstall(install):
Expand Down Expand Up @@ -75,9 +76,10 @@ def has_ext_modules(foo):
setup(
include_package_data=True,
packages=find_packages(),
cmdclass={
"install": TMUInstall,
"develop": TMUDevelop,
},
distclass=BinaryDistribution
ext_modules=[build_cffi().distutils_extension()]
#cmdclass={
# "install": TMUInstall,
# "develop": TMUDevelop,
#},
#distclass=BinaryDistribution
)

0 comments on commit 280def3

Please sign in to comment.