File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
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 :
36
36
from distutils .command .build import build as _build
37
37
38
38
if not use_setuptools :
39
- from distutils .core import setup
39
+ from distutils .core import Extension , setup
40
40
from distutils .command .install import install as _install
41
41
from distutils .command .build_ext import build_ext as _build_ext
42
42
from distutils .command .build import build as _build
@@ -232,7 +232,8 @@ 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 = [],
235
+ ext_modules = [Extension (name = 'symengine.lib' , sources = [])],
236
+ packages = ['symengine' , 'symengine.tests' ],
236
237
cmdclass = cmdclass ,
237
238
classifiers = [
238
239
'License :: OSI Approved :: MIT License' ,
You can’t perform that action at this time.
0 commit comments