We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 679b9be commit 1faf543Copy full SHA for 1faf543
setup.py
@@ -61,6 +61,11 @@ def readfile(filename):
61
'HAVE_ADD_COL_UNTYPED_ARGS': True}
62
print("Using compile_time_env: {}".format(compile_time_env), file=sys.stderr)
63
64
+if any(x in sys.argv
65
+ for x in ['build', 'build_ext', 'bdist_wheel', 'install']):
66
+ ext_modules = cythonize(ext_modules, include_path=sys.path,
67
+ compile_time_env=compile_time_env),
68
+
69
setup(
70
name="sage_numerical_backends_coin",
71
version=readfile("VERSION").strip(),
@@ -87,8 +92,7 @@ def readfile(filename):
87
92
'Programming Language :: Python :: 3.11',
88
93
'Programming Language :: Python :: 3.12',
89
94
],
90
- ext_modules = cythonize(ext_modules, include_path=sys.path,
91
- compile_time_env=compile_time_env),
95
+ ext_modules=ext_modules,
96
cmdclass = {'test': SageTest, 'check_sage_testsuite': SageTestSage}, # adding a special setup command for tests
97
keywords=['milp', 'linear-programming', 'optimization'],
98
packages=['sage_numerical_backends_coin'],
0 commit comments