Get version from __init__#581
Conversation
|
I think, much simpler solution is to pin required deps (that may be a conditional pin, only for py2), until we not drop support for py2 as others. No need to reinvent wheel. |
|
+1 for removing setuptools_scm. |
|
I guess I don't know the full context of why one would want That being said, I dropped |
Looking on the thread, this seems to be an issue with very old pip versions. The Debian Stretch has something like this. |
The setuptools_scm usage was broken by 867d878 (likely, this is a source of problem in mpmath#585) Closes mpmath#580 (an alternative to mpmath#583 and mpmath#581) Solves mpmath#585 as well.
The setuptools_scm usage was broken by 867d878 (likely, this is a source of problem in mpmath#585) Closes mpmath#580 (an alternative to mpmath#583 and mpmath#581) Solves mpmath#585 as well.
The setuptools_scm usage was broken by 867d878 (likely, this is a source of problem in mpmath#585) Closes mpmath#580 (an alternative to mpmath#583 and mpmath#581) Solves mpmath#585 as well.
The setuptools_scm usage was broken by 867d878 (likely, this is a source of problem in mpmath#585) Closes mpmath#580 (an alternative to mpmath#583 and mpmath#581) Solves mpmath#585 as well.
The setuptools_scm usage was broken by 867d878 (likely, this is a source of problem in mpmath#585) Closes mpmath#580 (an alternative to mpmath#583 and mpmath#581) Solves mpmath#585 as well.
Attempt to fix #580. Gets version for setup from
__init__.pyto prevent duplication of version, and removes dependency on setuptools_scm.This is how many/most projects handle version; I'm not sure how mixing most data from
setup.cfgwith the version insetup.pyworks. Although in testing withpip install -elocally it worked fine.