Closed nschloe closed 3 years ago
Okay, I will try to take a stab at this. Last time I tried back in November, the package segyio
was not supporting it. But maybe things have hopefully changed.
In general SeismicMesh needs to be split into a sizing function thing and a mesh generation thing. No need for segyio in the mesh generation side of the package.
the package segyio was not supporting it.
It works now I think. (At least it installs fine on my machine.) If your own code works with Python 3.9 and your dependencies don't, there's not need to restrict your python_requires
. pip will pick up on the missing dependency itself and yield the correct error message.
In general SeismicMesh needs to be split into a sizing function thing and a mesh generation thing. No need for segyio in the mesh generation side of the package.
Make it an optional dependency and put all the import segyio
lines into the functions. This will make the rest of sm work without it.
I'm building the wheels for pypi. will upload shortly
woah this is strange. When I run my make upload
routine, I build the wheel but then I end up with this:
assert tag in supported_tags, "would build wheel with unsupported tag {}".format(tag)
AssertionError: would build wheel with unsupported tag ('cp37', 'cp37m', 'macosx_11_0_x86_64')
make: *** [upload] Error 1
I recently updated my mac to Big Sur.
anyway, the sdist is up there on pip for 3.5.0. I'll work on the wheels for the next version.
Instead of the Python version checks at the beginning of
setup.py
, you'll want to restrict the version range here:(There's no need to have this is both setup.py and setup.cfg by the way.) Otherwise, with Python 3.9, it's kicking you into
Also, please support Python 3.9. :smile: