File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+
2+ recursive-include epanet_python *.i *.h *.dll *.lib
3+ graft epanet_python
4+ prune epanet_python/output/build
5+ prune epanet_python/toolkit/build
Original file line number Diff line number Diff line change 55
66from six import iteritems
77
8- from setuptools import setup
8+ from 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
1112
1213import sys
1314import subprocess
@@ -53,6 +54,11 @@ def run(self):
5354 install .run (self )
5455
5556
57+ #class BuildCmd(build):
58+ # """ Add custom steps for the build command """
59+ # def run(self):
60+ # print("building all microlibs")
61+
5662setup (
5763 name = PACKAGE_NAME ,
5864 version = "0.1.0" ,
@@ -63,8 +69,12 @@ def run(self):
6369 classifiers = [
6470 'Private :: Do Not Upload to pypi server' ,
6571 ],
72+ package_dir = {'' : 'epanet_python' },
73+ include_package_data = True ,
74+ packages = find_namespace_packages (where = 'epanet_python' ),
6675 cmdclass = {
6776 'install' : InstallCmd ,
6877 'develop' : DevelopCmd
78+ # 'build': BuildCmd
6979 },
7080)
Original file line number Diff line number Diff line change 1010 pytest
1111 numpy
1212commands =
13- python -m pip install -e .
1413 python -m pytest --color =yes epanet_python -s
You can’t perform that action at this time.
0 commit comments