File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 24
24
microlib_name = 'epanet.output'
25
25
26
26
setup (
27
- name = microlib_name ,
27
+ name = 'epanet.output' ,
28
28
version = "0.1.2a0" ,
29
29
ext_modules = [
30
30
Extension ("epanet.output._output" ,
31
+ sources = ['epanet/output/output_wrap.c' ],
31
32
include_dirs = ['epanet/output' ],
32
33
libraries = ['epanet-output' ],
33
34
library_dirs = ['epanet/output' ],
34
- sources = ['epanet/output/output.i' ],
35
- swig_opts = ['-py3' ],
36
35
language = 'C'
37
36
)
38
37
],
38
+
39
+ # tox can't find swmm module at test time unless namespace is declared
39
40
namespace_packages = ['epanet' ],
40
- packages = {microlib_name },
41
+
42
+ packages = {'epanet.output' },
41
43
py_modules = ['output' ],
42
- # include_package_data=True
43
- package_data = {microlib_name :['*epanet-output.dll' , '*epanet-output.so' ]},
44
+ package_data = {'epanet.output' :['*epanet-output.dll' , '*epanet-output.so' ]},
44
45
45
- # install_requires = []
46
+ zip_safe = False ,
46
47
)
You can’t perform that action at this time.
0 commit comments