From caa33470af2f1792c4935ffcc537e032edfcae25 Mon Sep 17 00:00:00 2001 From: Luke <69216256+acatiadroid@users.noreply.github.com> Date: Thu, 6 Jun 2024 13:57:53 +0100 Subject: [PATCH] Fix build scripts --- pyproject.toml | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e7eb6f4..d4cdd65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ requires = [ [project] name = "pybloxlink" description = "An API wrapper for the Bloxlink API." -readme = { file = "README.md" content-type = "text/x-rst" } +readme = { file = "README.md", content-type = "text/markdown" } license = { file = "LICENSE.txt" } requires-python = ">=3.8" authors = [{ name = "acatia" }] @@ -19,8 +19,8 @@ classifiers = [ "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", ] +dynamic = ["version"] [project.urls] Documentation = "https://acatiadroid.github.io/pybloxlink" -GitHub = "https://github.com/acatiadroid/pybloxlink" -dynamic = ["version"] \ No newline at end of file +GitHub = "https://github.com/acatiadroid/pybloxlink" \ No newline at end of file diff --git a/setup.py b/setup.py index 14ca26c..e73d9d1 100644 --- a/setup.py +++ b/setup.py @@ -5,4 +5,4 @@ with open('./bloxlink/__init__.py') as f: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1) -setup(version=version) \ No newline at end of file +setup(version=str(version)) \ No newline at end of file