Skip to content

Commit

Permalink
remove automatic version control
Browse files Browse the repository at this point in the history
  • Loading branch information
remrama committed Jun 3, 2024
1 parent 8d49eac commit 1d111f9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ docs/generated/
docs/make.bat
docs/Makefile

# PyPi
build/
# PyPI
dist/
krank.egg-info/

# src
src/krank/_version.py
10 changes: 4 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=61.0", "wheel", "setuptools_scm>=8"]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
Expand Down Expand Up @@ -44,6 +44,9 @@ dev = [
"pydata-sphinx-theme", # Needs to be in requirements.txt also (for docs.yml).
]

[tool.setuptools.dynamic]
version = {attr = "krank.__version__"}

[tool.setuptools]
include-package-data = true

Expand All @@ -56,8 +59,3 @@ krank = [
"krank/data/lexicons.json",
"krank/data/tables.json",
]

[tool.setuptools_scm]
version_scheme = "python-simplified-semver"
local_scheme = "no-local-version"
version_file = "src/krank/_version.py"
3 changes: 3 additions & 0 deletions src/krank/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
from . import lexicons
from . import liwc
from . import tables


__version__ = "0.0.1.dev4"

0 comments on commit 1d111f9

Please sign in to comment.