Skip to content

Commit

Permalink
Merge pull request #130 from husqvarnagroup/gardena/ml/remove-distuti…
Browse files Browse the repository at this point in the history
…ls-import

Remove superfluous distutils import
  • Loading branch information
codypiersall authored Apr 15, 2024
2 parents c03dfb2 + 7166166 commit 9b651be
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
os.environ["CFLAGS"] = "-mpclmul -msse2 -maes"
from setuptools import Command, setup, find_packages
from setuptools.command.build_ext import build_ext
from distutils.command.build import build as dbuild

WINDOWS = sys.platform == "win32"

Expand Down Expand Up @@ -146,16 +145,11 @@ class BuildBuild(build_ext):
Custom build command
"""

# dbuild.user_options += [
# ('build-deps', None, 'build nng and mbedtls before building the module')
# ]

def initialize_options(self):
"""
Set default values for options
Each user option must be listed here with their default value.
"""
# dbuild.initialize_options(self)
build_ext.initialize_options(self)

def run(self):
Expand All @@ -165,7 +159,6 @@ def run(self):
self.run_command("build_mbedtls")
self.run_command("build_nng")

# dbuild.run(self) # proceed with "normal" build steps
build_ext.run(self) # proceed with "normal" build steps


Expand Down

0 comments on commit 9b651be

Please sign in to comment.