Skip to content

Commit

Permalink
revert to string parsing for version as import breaks with Tox.
Browse files Browse the repository at this point in the history
  • Loading branch information
saikonen committed Oct 25, 2023
1 parent 6f9ffb1 commit 6fc5eba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
from setuptools import setup, find_packages

from metaflow.version import metaflow_version

version = metaflow_version
with open("metaflow/version.py", mode="r") as f:
version = f.read().splitlines()[0].split("=")[1].strip(" \"'")

setup(
include_package_data=True,
Expand Down

0 comments on commit 6fc5eba

Please sign in to comment.