Skip to content

Commit

Permalink
Remove tests from installed packages
Browse files Browse the repository at this point in the history
The tests do not need to be installed

Create an exclude rule for find_packages() in setup

Signed-off-by: Guillaume Ranquet <[email protected]>
  • Loading branch information
granquet committed Jul 8, 2024
1 parent 578b9d7 commit cab8aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
keywords="gmail notmuch synchronization tags",
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(),
packages=find_packages(exclude=["tests"]),
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
Expand Down

0 comments on commit cab8aaf

Please sign in to comment.