File: cythonize-post-cleaning.patch

package info (click to toggle)
python-cytoolz 0.11.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,152 kB
  • sloc: python: 2,681; makefile: 5
file content (16 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Nilesh Patra <npatra974@gmail.com>
Last-Update: Aug 6, 2020
Description: call cythonize() after clean operation has been done
Forwarded: not-needed

--- a/setup.py
+++ b/setup.py
@@ -72,7 +72,7 @@
     ext_modules.append(Extension('cytoolz.' + modname.replace('/', '.'),
                                  ['cytoolz/' + modname + suffix]))
 
-if use_cython:
+if use_cython and "clean" not in sys.argv:
     try:
         from Cython.Compiler.Options import get_directive_defaults
         directive_defaults = get_directive_defaults()