Starting with clone/checkout of rtslib-fb/master, working directory clean, no untracked files.
make release
cd dist
tar xzvf <dist tarball produced in step #2>
cd <dist tarball expansion directory>
python3 setup.py install; command fails with the following output:
Traceback (most recent call last):
File "setup.py", line 33, in <module>
raise Exception("Couldn't find version in setup.py")
Exception: Couldn't find version in setup.py
bcunningham@cn-priv-03:rtslib-fb-2.1.75.4.g99a6371 (master)$ echo $?
1
Running RHEL 8.2, using in-distro Python 3.6.
To reproduce:
make release
cd dist
tar xzvf <dist tarball produced in step #2>
cd <dist tarball expansion directory>
python3 setup.py install
; command fails with the following output:Where this is my
git describe --tags
output:And here's the
__version__
in the dist tarball'srtslib/__init__.py
: `version = '2.1.75.4.g99a6371'If I edit that file and remove the
.g99a6371
,python3 setup.py install
succeeds.