File: disable-all-option.patch

package info (click to toggle)
readucks 0.0.3-7
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 9,460 kB
  • sloc: python: 1,973; sh: 38; makefile: 5
file content (17 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Nilesh Patra <npatra974@gmail.com>
Description: Disable the "all" option with clean. Pybuild doesn't accept this option.
Last-Changed: Mon, 15 June 2020
--- a/setup.py
+++ b/setup.py
@@ -57,9 +57,10 @@
       - the compiled *.so file needed when running the programs
       - setuptools-*.egg file needed when running this script
     """
-    user_options = []
+    user_options = [('all', None, '(Compatibility with original clean command)')]
 
     def initialize_options(self):
+        self.all = False
         self.cwd = None
 
     def finalize_options(self):