From 223482aed32e416135782f103e9bf9ab279b6299 Mon Sep 17 00:00:00 2001
From: Roy de Goei <goei@astron.nl>
Date: Tue, 10 May 2022 11:12:04 +0200
Subject: [PATCH] SDC-545: Match siplib version with sip schema xsd which is
 version 2.8.0 now

---
 README.md     | 10 +++++++++-
 lib/siplib.py |  2 +-
 setup.py      |  2 +-
 version       |  2 +-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 03aff13..7729924 100644
--- a/README.md
+++ b/README.md
@@ -11,10 +11,18 @@ mainly to provide nicer constructors since the pyxb-generated code is a little h
 The ltasip.py file can be generated from the LTA SIP schema. Make sure you have installed pyxb (pip install pyxb):
     
     pyxbgen -u <path_to>/LTA-SIP.xsd
-Copy/paste the generated binding.py in the ltasip.py
+Copy/paste the generated binding.py in the ltasip.py but watch out for the path used in pyxb.utils.utility.Location
+which should have DEFAULT_SIP_XSD_PATH as first argument and the 'generated path', so find-replace this as well.  
 
 **Getting Started**
 
 This library is somewhat work in progress, so there is not yet a real end user documentation in that sense. 
 
 But there is some inline documentation in [lib/siplib.py](siplib.py) and you may want to check out [test/example.py](example.py) to see how this can be used.
+
+
+**Versioning**
+
+The initial version of the siblib in this repo is version 0.4
+
+Because the siplib is strongly coupled to the SIP xsd, the version numbering of the siplib will match with the version of the xsd schema which is 2.8.0 now.
\ No newline at end of file
diff --git a/lib/siplib.py b/lib/siplib.py
index 5a764d5..6ee71f3 100644
--- a/lib/siplib.py
+++ b/lib/siplib.py
@@ -39,7 +39,7 @@ import logging
 
 logger = logging.getLogger(__name__)
 
-VERSION = "SIPlib 0.4"
+VERSION = "SIPlib 2.8.0"
 ltasip.Namespace.setPrefix('sip')
 
 
diff --git a/setup.py b/setup.py
index 4a2cc98..0d17bff 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@ scripts = glob.glob('bin/*')
 
 setuptools.setup(
     name="siputils",
-    version="0.4",
+    version="2.8.0",
     setuptools_git_versioning={
         "template": "{tag}",
         "dev_template": "{tag}.dev{ccount}+git.{sha}",
diff --git a/version b/version
index bd73f47..834f262 100644
--- a/version
+++ b/version
@@ -1 +1 @@
-0.4
+2.8.0
-- 
GitLab