Skip to content

Commit

Permalink
Test GitHub Action in Feature Branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganesan authored and Ganesan committed Sep 28, 2023
1 parent 8989214 commit 367b56f
Showing 1 changed file with 1 addition and 49 deletions.
50 changes: 1 addition & 49 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,56 +38,8 @@ def run(self):
long_description = f.read()





""" try:
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
class MyWheel(_bdist_wheel):
def finalize_options(self):
_bdist_wheel.finalize_options(self)
self.root_is_pure = False
def get_tag(self):
python, abi, plat = _bdist_wheel.get_tag(self)
python, abi = 'py3', 'none'
return python, abi, plat
class MyDistribution(Distribution):
def __init__(self, *attrs):
Distribution.__init__(self, *attrs)
self.cmdclass['bdist_wheel'] = MyWheel
def is_pure(self):
return False
def has_ext_modules(self):
return True
except ImportError:
class MyDistribution(Distribution):
def is_pure(self):
return False
def has_ext_modules(self):
return True """

try:
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
class bdist_wheel(_bdist_wheel):
def finalize_options(self):
_bdist_wheel.finalize_options(self)
self.root_is_pure = False
except ImportError:
bdist_wheel = None



setup(
ext_modules=extensions,
cmdclass={"build_ext": SimulatorBuild, "bdist_wheel": bdist_wheel},
# cmdclass={"build_ext": SimulatorBuild, "bdist_wheel": bdist_wheel},
packages=find_packages(),
# distclass=MyDistribution
)

0 comments on commit 367b56f

Please sign in to comment.