File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424microlib_name = 'epanet.output'
2525
2626setup (
27- name = microlib_name ,
27+ name = 'epanet.output' ,
2828 version = "0.1.2a0" ,
2929 ext_modules = [
3030 Extension ("epanet.output._output" ,
31+ sources = ['epanet/output/output_wrap.c' ],
3132 include_dirs = ['epanet/output' ],
3233 libraries = ['epanet-output' ],
3334 library_dirs = ['epanet/output' ],
34- sources = ['epanet/output/output.i' ],
35- swig_opts = ['-py3' ],
3635 language = 'C'
3736 )
3837 ],
38+
39+ # tox can't find swmm module at test time unless namespace is declared
3940 namespace_packages = ['epanet' ],
40- packages = {microlib_name },
41+
42+ packages = {'epanet.output' },
4143 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' ]},
4445
45- # install_requires = []
46+ zip_safe = False ,
4647)
You can’t perform that action at this time.
0 commit comments