Skip to content

Commit 3bd3b70

Browse files
authored
Merge pull request #85 from ImperialCollegeLondon/tidyup
A few misc tidy-ups
2 parents a1764ec + a212a81 commit 3bd3b70

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

myproject/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
"""The main module for MyProject."""
22

3-
__version__ = "0.1.0"
3+
from importlib.metadata import version
4+
5+
__version__ = version(__name__)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tool.poetry]
2-
name = "MyProject"
2+
name = "myproject"
33
version = "0.1.0"
44
description = ""
55
authors = ["Jane Doe <jane_doe@some_email.com>"]

0 commit comments

Comments
 (0)