lmfit / asteval

minimalistic evaluator of python expression using ast module
https://lmfit.github.io/asteval
MIT License
183 stars 41 forks source link

PyPI: also upload source tarball #113

Closed reneeotten closed 2 years ago

reneeotten commented 2 years ago

hi @newville - would it be possible to upload the source archive instead of only a .whl file?

I am packaging it for MacPorts and see the typical issues with setuptools_scm as the GitHub tarball does not contain the asteval/version.py file and thus one gets the following error:

LookupError: setuptools-scm was unable to detect version for /opt/local/var/macports/build/_Users_renee_Software_macports-ports_python_py-asteval/py310-asteval/work/asteval-0.9.28.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
newville commented 2 years ago

@reneeotten Thanks -- should be there now!

reneeotten commented 2 years ago

indeed - thanks!