File: 1016_dont-ship-tests-in-python3-click-package.patch

package info (click to toggle)
click 0.5.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,372 kB
  • sloc: python: 7,135; ansic: 857; makefile: 441; sh: 236; perl: 26; xml: 11
file content (15 lines) | stat: -rw-r--r-- 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Omit unit test files from Python module. Makes build reproducible.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Forwarded: https://gitlab.com/ubports/development/core/click/-/merge_requests/38

--- a/setup.py.in
+++ b/setup.py.in
@@ -45,7 +45,7 @@
     author="Colin Watson",
     author_email="cjwatson@ubuntu.com",
     license="GNU GPL",
-    packages=find_packages(),
+    packages=find_packages(exclude=['click_package.tests', 'click_package.tests.integration']),
     scripts=['bin/click'],
     install_requires=requirements,
     cmdclass={"test": test_extra},