From 3476a4b171ab00e5ba7620a317d260dc549b8c4b Mon Sep 17 00:00:00 2001 From: Asaf Gardin Date: Mon, 18 Dec 2023 15:47:47 +0200 Subject: [PATCH] fix: imports --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 5b7dc1b6..8db436ba 100755 --- a/setup.py +++ b/setup.py @@ -1,15 +1,16 @@ #!/usr/bin/python3 import os +import codecs from setuptools import setup, find_packages from ai21.version import VERSION +readme_path = os.path.abspath(os.path.dirname(__file__)) -with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh: +with codecs.open(os.path.join(readme_path, "README.md"), encoding="utf-8") as fh: long_description = "\\n" + fh.read() - setup( name="ai21", version=VERSION,