Skip to content
This repository was archived by the owner on Feb 10, 2021. It is now read-only.

Commit bdad59b

Browse files
committed
Fix pypi deployment by using documentation at markdown format
podman README.md is markdown file who is used as a long description so we need to specify to pypi to use markdown parser to properly upload package https://pypi.org/help/#description-content-type
1 parent 55ff382 commit bdad59b

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ wheels/
2323
.installed.cfg
2424
*.egg
2525
MANIFEST
26+
AUTHORS
27+
ChangeLog
2628

2729
# PyInstaller
2830
# Usually these files are written by a python script from a template

setup.cfg

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
[metadata]
22
name = podman
33
home-page = https://github.com/containers/python-podman
4-
project_urls =
5-
Bug Tracker = https://github.com/containers/python-podman/issues
6-
Source Code = https://github.com/containers/python-podman
74
summary = A library to interact with a Podman server
8-
description_file = README.md
9-
description_content_type = text/markdown
5+
description-file =
6+
README.md
7+
ChangeLog
8+
AUTHORS
109
author = Jhon Honce
1110
author_email = [email protected]
1211
license = Apache Software License
12+
project_urls =
13+
Bug Tracker = https://github.com/containers/python-podman/issues
14+
Source Code = https://github.com/containers/python-podman
1315
classifier =
1416
Development Status :: 3 - Alpha
1517
Intended Audience :: Developers
@@ -20,6 +22,9 @@ keywords =
2022
varlink
2123
libpod
2224
podman
25+
requires-dist =
26+
setuptools
27+
wheel
2328

2429
[files]
2530
packages =
@@ -32,5 +37,5 @@ devel=
3237
tox
3338
bandit
3439

35-
[wheel]
40+
[bdist_wheel]
3641
universal = 1

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
setup(
66
setup_requires=['pbr'],
77
pbr=True,
8+
long_description_content_type="text/markdown",
89
)

0 commit comments

Comments
 (0)