Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not install tests #203

Open
moubctez opened this issue Jan 14, 2025 · 0 comments
Open

Do not install tests #203

moubctez opened this issue Jan 14, 2025 · 0 comments

Comments

@moubctez
Copy link

Tests should not be installed in the top-level of site-packages.

Here's my fix:

--- setup.py.orig	2025-01-14 16:56:45.972299015 +0000
+++ setup.py
@@ -77,7 +77,7 @@ setup(
         'Information and documentation can be found at '
         'https://github.com/gruns/icecream.'),
     platforms=['any'],
-    packages=find_packages(),
+    packages=find_packages(exclude=['tests']),
     include_package_data=True,
     classifiers=[
         'License :: OSI Approved :: MIT License',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant