Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 1d00a5c

Browse files
committed
fix: setup.py README
1 parent d366cbf commit 1d00a5c

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616
#
17+
import os
1718
import re
1819
import sys
1920

@@ -43,11 +44,14 @@ def run_tests(self):
4344
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
4445
fd.read(), re.MULTILINE).group(1)
4546

47+
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
48+
README = readme.read()
49+
4650
setup(
4751
name="oidcop",
4852
version=version,
4953
description="Python implementation of OIDC Provider",
50-
long_description=read('README.md'),
54+
long_description=README,
5155
long_description_content_type='text/markdown',
5256
author="Roland Hedberg",
5357
author_email="roland@catalogix.se",

0 commit comments

Comments
 (0)