Skip to content

Commit 2607f2e

Browse files
author
Carlo Smouter
committed
Add pypi publish steps to makefile and support markdown readme for pypi.
1 parent 7bc608c commit 2607f2e

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Makefile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: tests devinstall docs clean build
1+
.PHONY: tests devinstall docs clean build test_publish publish
22

33

44
tests:
@@ -16,3 +16,11 @@ docs: clean
1616

1717
build:
1818
python setup.py sdist bdist_wheel
19+
20+
test_publish:
21+
pip install --upgrade twine
22+
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
23+
24+
publish:
25+
pip install --upgrade twine
26+
twine upload dist/*

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def read(*parts):
3333
name='python-wowapi',
3434
version=__version__,
3535
description='Python-wowapi is a client library for the World of Warcraft Community API.',
36-
long_description=read('README.rst'),
36+
long_description=read('README.md'),
37+
long_description_content_type="text/markdown",
3738
author='Carlo Smouter',
3839
author_email='[email protected]',
3940
url='https://github.com/lockwooddev/python-wowapi',

0 commit comments

Comments
 (0)