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

Commit 1f59ceb

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 1f59ceb

File tree

5 files changed

+50
-7
lines changed

5 files changed

+50
-7
lines changed

.travis.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,13 @@ before_install:
1010
- pip install -U pip
1111
- pip install -U setuptools
1212
- pip install -U wheel
13+
- pip install -U twine
1314
install:
1415
- pip install tox-travis .[devel]
1516
script:
16-
- echo "test"
17+
- python setup.py sdist
18+
- python setup.py bdist_wheel
19+
- twine check dist/*
1720
deploy:
1821
- provider: pypi
1922
user: containers-libpod

AUTHORS

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Anders F Björklund <[email protected]>
2+
Brent Baude <[email protected]>
3+
Daniel J Walsh <[email protected]>
4+
Dhanisha Phadate <[email protected]>
5+
Hervé Beraud <[email protected]>
6+
Jhon Honce <[email protected]>
7+
Jhon Honce <[email protected]>

ChangeLog

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
CHANGES
2+
=======
3+
4+
* Fix pypi deployment by using documentation at markdown format
5+
6+
v0.0.2
7+
------
8+
9+
* Fix up pushing to pypi
10+
11+
v0.0.1
12+
------
13+
14+
* Pull image function throws KeyError for id
15+
* Secure Travis
16+
* Introduce travis-ci and autodeployments on tags
17+
* Improve packaging by using PBR
18+
* Add base requirements to README.md
19+
* Remove pypodman to python-pypodman repo
20+
* Update module to align with varlink API changes
21+
* Use GetVersion instead of Ping, as recommended
22+
* Improve README
23+
* pypodman: add options to handle ssh host keys
24+
* Update README.md
25+
* add missing bits
26+
* Initial copy from containers/libpod
27+
* Initial commit

setup.cfg

+11-6
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

+1
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)