Skip to content

Commit

Permalink
Source README.md in setup to be used for PyPI
Browse files Browse the repository at this point in the history
When Release scripts publish to PyPI they will set the README.md as
the long decription there.
  • Loading branch information
simo5 committed Apr 28, 2022
1 parent d83b316 commit 7a18104
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

from setuptools import setup

# read the contents of your README file
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text()

setup(
name = 'jwcrypto',
version = '1.2',
Expand All @@ -13,6 +18,8 @@
url='https://github.com/latchset/jwcrypto',
packages = ['jwcrypto'],
description = 'Implementation of JOSE Web standards',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers = [
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
Expand Down

0 comments on commit 7a18104

Please sign in to comment.