You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2022/07/11 18:25:37 UTC

[datasketches-cpp] 01/01: remove unnecessary components from python wheel

This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch simplify_wheel
in repository https://gitbox.apache.org/repos/asf/datasketches-cpp.git

commit e2be3f1a788c1a45448563fc8dbf72e578677a0c
Author: Jon <jm...@apache.org>
AuthorDate: Mon Jul 11 11:25:10 2022 -0700

    remove unnecessary components from python wheel
---
 setup.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 9b8f571..e11effc 100644
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,6 @@
 
 import os
 import sys
-import sysconfig
 import platform
 import subprocess
 
@@ -89,7 +88,7 @@ setup(
     url='http://datasketches.apache.org',
     long_description=open('python/README.md').read(),
     long_description_content_type='text/markdown',
-    packages=find_packages('python'), # python pacakges only in this dir
+    packages=find_packages(where='python',exclude=['src','*tests*']), # src not needed if only the .so
     package_dir={'':'python'},
     # may need to add all source paths for sdist packages w/o MANIFEST.in
     ext_modules=[CMakeExtension('datasketches')],


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org