Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Chan committed Feb 9, 2024
1 parent 69da8aa commit 6b00417
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: 1.0.2-78-gf6a7685
_commit: 1.0.2-82-g89dd40b
_src_path: gh:DiamondLightSource/python-copier-template
author_email: tom.cobb@diamond.ac.uk
author_name: Tom Cobb
Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
]
description = "An expanded python-copier-template with all the options"
dependencies = [
"typing-extensions;python_version<'3.8'",
] # Add project dependencies here, e.g. ["click", "numpy"]
dependencies = [] # Add project dependencies here, e.g. ["click", "numpy"]
dynamic = ["version"]
license.file = "LICENSE"
readme = "README.md"
Expand Down
10 changes: 1 addition & 9 deletions src/python_copier_template_example/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
import sys

if sys.version_info < (3, 8):
from importlib_metadata import version # noqa
else:
from importlib.metadata import version # noqa

__version__ = version("dls-python-copier-template-example")
del version
from ._version import __version__

__all__ = ["__version__"]

0 comments on commit 6b00417

Please sign in to comment.