Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
perara authored Aug 28, 2023
1 parent 6e3135c commit 2cd9a1a
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
Expand Up @@ -2,7 +2,7 @@
from setuptools import setup, find_packages
from setuptools.command.develop import develop
from setuptools.command.install import install
from setuptools.command.bdist_wheel import bdist_wheel
from setuptools.command.bdist import bdist
import cffi
import tomli
from typing import Dict, Any
Expand Down Expand Up @@ -45,7 +45,7 @@ def build_cffi():

ffibuilder.compile(verbose=True)

class TMUbdistWheel(bdist_wheel):
class TMUbdistWheel(bdist):
"""
Custom install command that builds the CFFI modules
before proceeding with the standard installation process.
Expand Down Expand Up @@ -89,7 +89,7 @@ def has_ext_modules(foo):
cmdclass={
"install": TMUInstall,
"develop": TMUDevelop,
"bdist_wheel": TMUbdistWheel
"bdist": TMUbdistWheel
},
distclass=BinaryDistribution
)

0 comments on commit 2cd9a1a

Please sign in to comment.