From 2c5db2fd187b0708c2165e41567f1e0a7ed20722 Mon Sep 17 00:00:00 2001 From: Ethan Steinberg Date: Tue, 2 Apr 2024 17:52:41 -0700 Subject: [PATCH] Try to fix --- native/WORKSPACE | 1 + pyproject.toml | 6 ++++++ setup.py | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/native/WORKSPACE b/native/WORKSPACE index c3a3164..a7edfa4 100644 --- a/native/WORKSPACE +++ b/native/WORKSPACE @@ -5,6 +5,7 @@ http_archive( name = "com_google_absl", urls = ["https://github.com/abseil/abseil-cpp/archive/2f9e432cce407ce0ae50676696666f33a77d42ac.zip"], strip_prefix = "abseil-cpp-2f9e432cce407ce0ae50676696666f33a77d42ac", + sha256 = "efa465b26da194f82320b4e39e2ca637ebe3129d7f3732ee71d9942099e3c773", ) http_archive( diff --git a/pyproject.toml b/pyproject.toml index 9685672..46d152f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,3 +11,9 @@ requires-python=">3.9" license = {text = "Apache-2.0"} [tool.setuptools_scm] + +[tool.setuptools.packages.find] +where = ["."] # list of folders that contain the packages (["."] by default) +include = ["meds_etl_cpp"] # package names should match these glob patterns (["*"] by default) +exclude = [] # exclude packages matching these glob patterns (empty by default) +namespaces = false # to disable scanning PEP 420 namespaces (true by default) \ No newline at end of file diff --git a/setup.py b/setup.py index b368818..66a14ac 100644 --- a/setup.py +++ b/setup.py @@ -107,7 +107,7 @@ def build_extensions(self) -> None: setuptools.setup( ext_modules=[ - BazelExtension("meds_etl_native", "meds_etl_native.so", "native"), + BazelExtension("meds_etl_cpp", "meds_etl_cpp.so", "native"), ], cmdclass={"build_ext": cmake_build_ext}, zip_safe=False,