Skip to content

Commit

Permalink
Merge pull request #129 from husqvarnagroup/gardena/ml/remove-build-deps
Browse files Browse the repository at this point in the history
Remove "build-deps" user option
  • Loading branch information
codypiersall committed Apr 12, 2024
2 parents d8d40ee + dfcc47f commit 47d6bd1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ class BuildBuild(build_ext):
# dbuild.user_options += [
# ('build-deps', None, 'build nng and mbedtls before building the module')
# ]
build_ext.user_options += [
("build-deps", None, "build nng and mbedtls before building the module")
]

def initialize_options(self):
"""
Expand All @@ -160,15 +157,13 @@ def initialize_options(self):
"""
# dbuild.initialize_options(self)
build_ext.initialize_options(self)
self.build_deps = "yes"

def run(self):
"""
Running...
"""
if self.build_deps:
self.run_command("build_mbedtls")
self.run_command("build_nng")
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 47d6bd1

Please sign in to comment.