setup.py: add changelog in the long description
This commit is contained in:
parent
4d76f5f0e6
commit
b6d8eb9d13
1 changed files with 8 additions and 0 deletions
8
setup.py
8
setup.py
|
@ -3,6 +3,7 @@ Buildozer
|
|||
'''
|
||||
|
||||
from setuptools import setup
|
||||
from os.path import dirname, join
|
||||
import codecs
|
||||
import os
|
||||
import re
|
||||
|
@ -24,10 +25,17 @@ def find_version(*file_paths):
|
|||
return version_match.group(1)
|
||||
raise RuntimeError("Unable to find version string.")
|
||||
|
||||
curdir = dirname(__file__)
|
||||
with open(join(curdir, "README.rst")) as fd:
|
||||
readme = fd.read()
|
||||
with open(join(curdir, "CHANGELOG.md")) as fd:
|
||||
changelog = fd.read()
|
||||
|
||||
setup(
|
||||
name='buildozer',
|
||||
version=find_version('buildozer', '__init__.py'),
|
||||
description='Generic Python packager for Android / iOS and Desktop',
|
||||
long_description=readme + "\n\n" + changelog,
|
||||
author='Mathieu Virbel',
|
||||
author_email='mat@kivy.org',
|
||||
url='http://github.com/kivy/buildozer',
|
||||
|
|
Loading…
Reference in a new issue