Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
import subprocess
from sphinx.ext.apidoc import main

import pyiron_snippets

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down Expand Up @@ -75,14 +77,8 @@
# built documents.
#
# The short X.Y version.
version_full = subprocess.check_output(
"python -c 'import versioneer; print(versioneer.get_version())'",
cwd=os.path.join(os.path.curdir, '..'),
universal_newlines=True,
shell=True
)
version_full = version_full.split('\n')[0]
version = '.'.join(version_full.split('.')[0:2])
version_full = pyiron_snippets.__version__
version = '.'.join(version_full.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = version_full

Expand Down
13 changes: 0 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,6 @@ Homepage = "https://github.com/pyiron/pyiron_snippets"
Documentation = "https://pyiron-snippets.readthedocs.io"
Repository = "https://github.com/pyiron/pyiron_snippets"

[tool.versioneer]
VCS = "git"
style = "pep440-pre"
versionfile_source = "pyiron_snippets/_version.py"
parentdir_prefix = "pyiron_snippets"
tag_prefix = "pyiron_snippets-"

[tool.setuptools.packages.find]
include = [ "pyiron_snippets*",]

[tool.setuptools.dynamic.version]
attr = "pyiron_snippets.__version__"

[project.optional-dependencies]
tests = [
"cloudpickle==3.1.1",
Expand Down
Loading