Comments (5)
For downstreams, they can force the version for setuptools-scm with SETUPTOOLS_SCM_PRETEND_VERSION
.
For generating a versioned file when running git archive
, there's https://setuptools-scm.readthedocs.io/en/latest/usage/#git-archives though I'm not sure how that interacts with meson-python or setuptools-scm run at build time.
from shtools.
Here is a partial solution for the case where the tarball is generated by Meson : martinpitt/umockdev@cf0d7b4
To deal with the more generic case where the tarball is generated by git archive (or github), we would probably need to follow the approach as described in the above setuptools_scm git-archive docs.
from shtools.
And here is a PR that uses versioneer... #439
This mostly works, but as described in the PR, when run from a tarball, the version is set to '0+unknown'. This is better than not building at all, but I think that we can do better!
from shtools.
Related Issues (20)
- Release SHTOOLS v4.10.3
- Extract normalized 2D spectrum values from SHCoeffs HOT 6
- Earth2012 and Earth2014 not callable HOT 2
- NameError: name 'shcoeffs' is not defined HOT 1
- Release SHTOOLS 4.10.4
- Cannot install M1-Mac by pip HOT 4
- Call to dggglm SHExpandLSQ HOT 1
- Installation on Python 3.10.12 error: metadata-generation-failed, No module named 'numpy.distutils' HOT 2
- Install issue can't build wheel. (Using Pycharm) HOT 1
- Exporting grid data to 3D model
- Sampling is incorrectly set when using DHRealGrid() class. HOT 1
- Release SHTOOLS 4.11 HOT 1
- jupyter is an (undeclared) build-time dependency HOT 6
- Compilation error on MacOS Sonoma HOT 7
- issue when calling pyshtools.spectralanalysis.SHReturnTapersMap HOT 6
- installing pyshtools lead to error: metadata-generation-failed (PyCharm) HOT 3
- Error message when attempting to install pyshtools on Mac OS X 14.2.0 HOT 14
- Release SHTOOLS 4.12.0 HOT 1
- Implement ducc backend to pyshtools gravity and magnetic classes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shtools.