From 82f1b419f8d35d45cd8f049dfb0c274e35b27182 Mon Sep 17 00:00:00 2001 From: Jose Luis Garrido-Labrador Date: Fri, 21 Jun 2024 14:58:57 +0200 Subject: [PATCH] setup.py works propertly --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e483cc0..55f68f3 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ def get_version(): - with open('sslearn/__init__.py') as f: + with open('src/sslearn/__init__.py') as f: for line in f: if line.startswith('__version__'): return line.split('=')[1].strip().strip("'") @@ -31,7 +31,8 @@ def get_version(): "scikit_learn>=1.2.0", "scipy>=1.10.1", "statsmodels>=0.13.2"], - packages=setuptools.find_packages(exclude=("tests", "experiments")), + #packages=setuptools.find_packages(exclude=("tests", "experiments")), + package_dir = {"": "src"}, include_package_data=True, classifiers=[ 'Development Status :: 5 - Production/Stable',