[F] Fix reading version requires typing dependency

This commit is contained in:
Azalea Gui 2023-03-23 21:23:40 -04:00
parent 6192b47758
commit 573eb09f74
No known key found for this signature in database
GPG key ID: E289FAC0DA92DD2B
3 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,7 @@ import pathlib
from setuptools import setup, find_namespace_packages
import hyfetch.constants
from hyfetch.__version__ import VERSION
# The directory containing this file
HERE = pathlib.Path(__file__).parent
@ -14,7 +14,7 @@ README = (HERE / "README.md").read_text('utf-8')
# This call to setup() does all the work
setup(
name="HyFetch",
version=hyfetch.constants.VERSION,
version=VERSION,
description="neofetch with flags <3",
long_description=README,
long_description_content_type="text/markdown",