File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 24
24
25
25
if use_setuptools :
26
26
try :
27
- from setuptools import setup
27
+ from setuptools import Extension , setup
28
28
from setuptools .command .install import install as _install
29
29
from setuptools .command .build_ext import build_ext as _build_ext
30
30
except ImportError :
@@ -232,7 +232,10 @@ def finalize_options(self):
232
232
url = "https://github.com/symengine/symengine.py" ,
233
233
python_requires = '>=3.9,<4' ,
234
234
zip_safe = False ,
235
- packages = ['symengine' , 'symengine.lib' , 'symengine.tests' ],
235
+ ext_modules = [
236
+ Extension (name = 'symengine.lib' , sources = []),
237
+ Extension (name = 'symengine.tests' , sources = [])],
238
+ packages = ['symengine' ],
236
239
cmdclass = cmdclass ,
237
240
classifiers = [
238
241
'License :: OSI Approved :: MIT License' ,
You can’t perform that action at this time.
0 commit comments