Skip to content

Commit fdf5b42

Browse files
oleksandr-pavlykantonwolfy
authored andcommitted
Specify dependencies on dpnp_algo on other included pyx files
1 parent b0923f0 commit fdf5b42

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

setup.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
'''
126126
This variable controls setuptools execution on windows
127127
to avoid automatically search and confirm workability of the compiler
128-
If not set, error "Microsoft Visual C++ 14.0 or greater is required." appiars
128+
If not set, error "Microsoft Visual C++ 14.0 or greater is required." appears
129129
'''
130130
os.environ["DISTUTILS_USE_SDK"] = "1"
131131

@@ -145,6 +145,21 @@
145145
dpnp_algo = Extension(
146146
name="dpnp.dpnp_algo.dpnp_algo",
147147
sources=[os.path.join("dpnp", "dpnp_algo", "dpnp_algo.pyx")],
148+
depends=[
149+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_linearalgebra.pyx"),
150+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_manipulation.pyx"),
151+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_counting.pyx"),
152+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_statistics.pyx"),
153+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_trigonometric.pyx"),
154+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_sorting.pyx"),
155+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_arraycreation.pyx"),
156+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_mathematical.pyx"),
157+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_searching.pyx"),
158+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_indexing.pyx"),
159+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_logic.pyx"),
160+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_bitwise.pyx"),
161+
os.path.join("dpnp", "dpnp_algo", "dpnp_algo_special.pyx"),
162+
],
148163
**kwargs_common)
149164

150165
dpnp_dparray = Extension(

0 commit comments

Comments
 (0)