Skip to content

Commit

Permalink
Make native extensions all optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchda committed Mar 1, 2024
1 parent de03082 commit 29029f6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@

LIBDDWAF_DOWNLOAD_DIR = HERE / "ddtrace" / "appsec" / "_ddwaf" / "libddwaf"
IAST_DIR = HERE / "ddtrace" / "appsec" / "_iast" / "_taint_tracking"
PROF_NATIVE_DIR = HERE / "ddtrace" / "internal" / "datadog" / "profiling"
DDUP_DIR = PROF_NATIVE_DIR / "ddup"
STACK_V2_DIR = PROF_NATIVE_DIR / "stack_v2"
DDUP_DIR = HERE / "ddtrace" / "internal" / "datadog" / "profiling" / "ddup"
STACK_V2_DIR = HERE / "ddtrace" / "internal" / "datadog" / "profiling" / "stack_v2"

CURRENT_OS = platform.system()

Expand Down Expand Up @@ -461,7 +460,6 @@ def get_exts_for(name):
CMakeExtension(
"ddtrace.internal.datadog.profiling.ddup._ddup",
source_dir=DDUP_DIR,
optional=False,
cmake_args=[
"-DPY_MAJOR_VERSION={}".format(sys.version_info.major),
"-DPY_MINOR_VERSION={}".format(sys.version_info.minor),
Expand All @@ -476,7 +474,6 @@ def get_exts_for(name):
CMakeExtension(
"ddtrace.internal.datadog.profiling.stack_v2._stack_v2",
source_dir=STACK_V2_DIR,
optional=False,
)
)

Expand Down

0 comments on commit 29029f6

Please sign in to comment.