Skip to content

Commit 821a1cb

Browse files
authored
Merge pull request #31 from michaeltryby/dev
Working on install
2 parents 72ac94f + d4dccd4 commit 821a1cb

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

epanet_python/output/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
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

epanet_python/toolkit/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
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

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from setuptools.command.develop import develop
1010
from setuptools.command.install import install
1111

12+
1213
import sys
1314
import subprocess
1415

@@ -66,5 +67,6 @@ def run(self):
6667
cmdclass={
6768
'install': InstallCmd,
6869
'develop': DevelopCmd
69-
},
70+
71+
}
7072
)

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ envlist = py36
66
[testenv]
77
whitelist_externals =
88
swig
9+
skipsdist = True
10+
usedevelop = True
911
deps =
1012
pytest
1113
numpy
1214
commands =
13-
python -m pip install -e .
1415
python -m pytest --color=yes epanet_python -s

0 commit comments

Comments
 (0)