Skip to content

Commit

Permalink
setup.py: Read version from VERSION file
Browse files Browse the repository at this point in the history
  • Loading branch information
jackrosenthal committed Feb 13, 2024
1 parent 3580a4a commit 941377e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
include VERSION
recursive-include algobowl/public *
include algobowl/public/favicon.ico
recursive-include algobowl/i18n *
recursive-include algobowl/templates *
global-exclude *.pyc
prune __pycache__
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2024.02.12.dev0
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from pathlib import Path

import setuptools

HERE = Path(__file__).resolve().parent

BASE_DEPENDS = [
"click>=8.0",
"pytest>=4.6",
Expand Down Expand Up @@ -35,7 +39,7 @@

setuptools.setup(
name="algobowl",
version="0.1",
version=(HERE / "VERSION").read_text(encoding="ascii").strip(),
description="",
author="",
author_email="",
Expand Down

0 comments on commit 941377e

Please sign in to comment.