Skip to content

Commit

Permalink
update formatting for setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
casassg committed Apr 12, 2022
1 parent b12591f commit f591883
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import os

from setuptools import find_namespace_packages, setup
from pathlib import Path

PROJECT_NAME = "tfx-addons"

Expand All @@ -31,9 +30,12 @@ def get_project_version():

return extracted_version


def get_long_description():
this_directory = Path(__file__).parent
return (this_directory / "README.md").read_text()
base_dir = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(base_dir, "README.md")) as fp:
return fp.read()


version = get_project_version()
inclusive_min_tfx_version = version["INCLUSIVE_MIN_TFX_VERSION"]
Expand Down

0 comments on commit f591883

Please sign in to comment.