File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3838 ],
3939 namespace_packages = ['epanet' ],
4040 packages = {microlib_name },
41- # py_modules = ['output'],
41+ py_modules = ['output' ],
4242# include_package_data=True
4343 package_data = {microlib_name :['*epanet-output.dll' , '*epanet-output.so' ]},
4444
Original file line number Diff line number Diff line change 3737 ],
3838 namespace_packages = ['epanet' ],
3939 packages = {microlib_name },
40- # py_modules = ['toolkit'],
40+ py_modules = ['toolkit' ],
4141# include_package_data=True
4242 package_data = {microlib_name :['*epanet2.dll' , '*epanet2.so' ]},
4343
Original file line number Diff line number Diff line change 88from setuptools import setup , find_namespace_packages
99from setuptools .command .develop import develop
1010from setuptools .command .install import install
11- #from setuptools.command.build import build
11+
1212
1313import sys
1414import subprocess
@@ -54,11 +54,6 @@ def run(self):
5454 install .run (self )
5555
5656
57- #class BuildCmd(build):
58- # """ Add custom steps for the build command """
59- # def run(self):
60- # print("building all microlibs")
61-
6257setup (
6358 name = PACKAGE_NAME ,
6459 version = "0.1.0" ,
@@ -69,12 +64,9 @@ def run(self):
6964 classifiers = [
7065 'Private :: Do Not Upload to pypi server' ,
7166 ],
72- package_dir = {'' : 'epanet_python' },
73- include_package_data = True ,
74- packages = find_namespace_packages (where = 'epanet_python' ),
7567 cmdclass = {
7668 'install' : InstallCmd ,
7769 'develop' : DevelopCmd
78- # 'build': BuildCmd
79- },
70+
71+ }
8072)
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ envlist = py36
66[testenv]
77whitelist_externals =
88 swig
9+ skipsdist = True
10+ usedevelop = True
911deps =
1012 pytest
1113 numpy
You can’t perform that action at this time.
0 commit comments