Closed krober10nd closed 3 years ago
Make the dependency optional, too. See https://github.com/nschloe/meshio/blob/main/setup.cfg#L44.
You may want to lose python_requires=">=3.0"
from setup.py too. (It's already in setup.cfg.)
hm, no luck with making segyio optional. When I put it into the setup.cfg file like you showed I get
WARNING: SeismicMesh 3.5.0 does not provide the extra 'all'
so I put it into the setup.py file but same issue.
so I put it into the setup.py file but same issue.
setup.py overrides setup.cfg. Try putting it all into setup.cfg.
alright, I created three optionals: io
, benchmarking
, and all
which is a combination of io
and benchmarking
. I didn't want to add the other packages that I use for mesh generation comparison into common installs as these require other additional third party packages (like gmsh). I put all these optionals in setup.cfg and tested this on a virtual env with python 3.9. I also added another CI build for 3.9.
I plan to improve io capabilities here in some time.