Skip to content

Commit

Permalink
read version from version.py
Browse files Browse the repository at this point in the history
  • Loading branch information
igorbrigadir committed Apr 7, 2021
1 parent 21e5f47 commit 6b83e63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import sys
import setuptools

from twarc.version import version
with open("twarc/version.py") as f:
exec(f.read())

with open("docs/README.md") as f:
long_description = f.read()
Expand Down

0 comments on commit 6b83e63

Please sign in to comment.