We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc3d682 commit bf7ef77Copy full SHA for bf7ef77
setup.py
@@ -1,4 +1,5 @@
1
#!/usr/bin/env python
2
+import re
3
4
import sys
5
@@ -45,9 +46,14 @@ def run_tests(self):
45
46
#'pytest-coverage',
47
]
48
49
+version = ''
50
+with open('src/saml2/__init__.py', 'r') as fd:
51
+ version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
52
+ fd.read(), re.MULTILINE).group(1)
53
+
54
setup(
55
name='pysaml2',
- version='3.0.1a',
56
+ version=version,
57
description='Python implementation of SAML Version 2',
58
# long_description = read("README"),
59
author='Roland Hedberg',
src/saml2/__init__.py
@@ -17,6 +17,7 @@
17
provides methods and functions to convert SAML classes to and from strings.
18
"""
19
20
+__version__ = "3.0.1a"
21
22
import logging
23
import six
0 commit comments