File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed
Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 3333# Add any Sphinx extension module names here, as strings. They can be
3434# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
3535extensions = [
36- # fmt: off
36+ # fmt: off
3737 "sphinx.ext.autodoc" ,
3838 "sphinx_click.ext" ,
3939 "sphinx.ext.viewcode" ,
40- # fmt: on
40+ # fmt: on
4141]
4242
4343# Add any paths that contain templates here, relative to this directory.
181181 "Miscellaneous" ,
182182 ),
183183 # fmt: on
184- ]
184+ ]
Original file line number Diff line number Diff line change 7171try :
7272 from Cython .Build import cythonize
7373 import numpy as np
74- ext_modules = cythonize ([
75- Extension ("darknet.py.network" , ["src/darknet/py/network.pyx" ],
76- include_dirs = [np .get_include ()],
77- libraries = ["darknet" ])
78- ])
74+
75+ ext_modules = cythonize (
76+ [
77+ Extension (
78+ "darknet.py.network" ,
79+ ["src/darknet/py/network.pyx" ],
80+ include_dirs = [np .get_include ()],
81+ libraries = ["darknet" ],
82+ )
83+ ]
84+ )
7985except ModuleNotFoundError :
8086 pass
8187
You can’t perform that action at this time.
0 commit comments