Skip to content
New issue

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

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

Already on GitHub? # 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',
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant