Skip to content

Commit 00598f1

Browse files
author
Henry
committed
✨ PyPI uploaded manually
- automatic detection using tag does not work yet
1 parent 4b7dc98 commit 00598f1

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,12 @@ Install package so that new code is picked up in a restared python interpreter:
88
pip install -e .
99
```
1010

11+
## TestPyPI
12+
13+
Install vom [TestPyPI](https://test.pypi.org/project/rasmussenlab-mockup):
14+
15+
```
16+
pip install -i https://test.pypi.org/simple/ rasmussenlab-mockup
17+
```
18+
19+
> The package on PyPI is call `rasmussenlab-mockup` and not `mockup` as the package name is already taken. The import is still `import mockup`.

src/mockup/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# The __init__.py file is loaded when the package is loaded.
22
# It is used to indicate that the directory in which it resides is a Python package
33

4-
__version__ = (0, 1, 0)
4+
# ! does not work yet:
5+
# from importlib import metadata
6+
# __version__ = metadata.version("mockup")
7+
__version__ = "24.02"
58

69
from .mockup import add_one, Circle
710

0 commit comments

Comments
 (0)