From 29ab8fe6193bc8c6e6bc24402c4b9d2d8dc2f77e Mon Sep 17 00:00:00 2001 From: Graeme Holliday Date: Wed, 22 Jan 2025 19:48:34 -0500 Subject: [PATCH] repo config --- .github/ISSUE_TEMPLATE/bug-report.md | 14 -------------- docs/conf.py | 4 +++- pyproject.toml | 5 ++++- uv.lock | 1 - 4 files changed, 7 insertions(+), 17 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug-report.md diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md deleted file mode 100644 index 4392256..0000000 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Describe the bug** -A clear and concise description of what the bug is, with screenshots or logs of problematic behavior. - -**How to reproduce** -Post your code so the source of the problem can be identified. diff --git a/docs/conf.py b/docs/conf.py index 87d1fda..64bf4f5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -5,6 +5,8 @@ import os import sys +from tradestation import VERSION + sys.path.insert(0, os.path.abspath("..")) # -- Project information ----------------------------------------------------- @@ -13,7 +15,7 @@ project = "tradestation" copyright = "2025, tastyware" author = "Graeme Holliday, Ethan Corgatelli" -release = "0.2" +release = VERSION # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration diff --git a/pyproject.toml b/pyproject.toml index c67b3a7..8603b50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,9 +2,11 @@ requires = ["hatchling"] build-backend = "hatchling.build" +[tool.hatch.version] +path = "tradestation/__init__.py" + [project] name = "tradestation" -version = "0.2" description = "An unofficial, sync/async SDK for Tradestation!" readme = "README.md" requires-python = ">=3.10" @@ -18,6 +20,7 @@ dependencies = [ "pydantic>=2.9.2", "pyjwt>=2.10.1", ] +dynamic = ["version"] [project.urls] Homepage = "https://github.com/tastyware/tradestation" diff --git a/uv.lock b/uv.lock index 1bcf3fd..192b185 100644 --- a/uv.lock +++ b/uv.lock @@ -1180,7 +1180,6 @@ wheels = [ [[package]] name = "tradestation" -version = "0.2" source = { editable = "." } dependencies = [ { name = "httpx" },