Skip to content

Commit

Permalink
follow PEP-404 to allow pip install .
Browse files Browse the repository at this point in the history
pip will enforce https://peps.python.org/pep-0440/

the version name must follow semantic versioning.
We were still calling the version on the main branch main.

The version name was changed to be 5.0.0devYYYYMMDDHHMM
  • Loading branch information
thomas-mangin committed Feb 8, 2024
1 parent 236912f commit 5ccbaf5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/exabgp/version.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import os
import sys
from datetime import datetime

commit = "99de31e8"
release = "main"
release = "5.0.0dev%s" % datetime.now().strftime('%Y%m%d%H%M%S')
json = "5.0.0"
text = "5.0.0"
version = os.environ.get('EXABGP_VERSION', release)
Expand Down

0 comments on commit 5ccbaf5

Please sign in to comment.