8000 update setup.py to include a long_description · madzak/python-json-logger@b1c0cbd · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit b1c0cbd

Browse files
authored
update setup.py to include a long_description
see https://packaging.python.org/guides/making-a-pypi-friendly-readme/
1 parent feeda9c commit b1c0cbd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
from setuptools import setup, find_packages
22

3+
# read the contents of your README file
4+
from os import path
5+
this_directory = path.abspath(path.dirname(__file__))
6+
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
7+
long_description = f.read()
38

49
setup(
510
name="python-json-logger",
611
version="2.0.0",
712
url="http://github.com/madzak/python-json-logger",
813
license="BSD",
914
description="A python library adding a json log formatter",
15+
long_description=long_description,
16+
long_description_content_type='text/markdown',
1017
author="Zakaria Zajac",
1118
author_email="zak@madzak.com",
1219
package_dir={'': 'src'},

0 commit comments

Comments
 (0)
0