mirror of https://github.com/kivy/kivy.git
Copy README.md to long_description
This commit is contained in:
parent
e2c3094160
commit
cc7d9a7176
7
setup.py
7
setup.py
|
@ -39,6 +39,11 @@ if PY3: # fix error with py3's LooseVersion comparisons
|
||||||
LooseVersion.__eq__ = ver_equal
|
LooseVersion.__eq__ = ver_equal
|
||||||
|
|
||||||
|
|
||||||
|
def get_description():
|
||||||
|
with open(join(dirname(__file__), 'README.md')) as fileh:
|
||||||
|
return fileh.read()
|
||||||
|
|
||||||
|
|
||||||
def get_version(filename='kivy/version.py'):
|
def get_version(filename='kivy/version.py'):
|
||||||
VERSION = kivy.__version__
|
VERSION = kivy.__version__
|
||||||
DATE = datetime.utcnow().strftime('%Y%m%d')
|
DATE = datetime.utcnow().strftime('%Y%m%d')
|
||||||
|
@ -976,6 +981,7 @@ if not build_examples:
|
||||||
description=(
|
description=(
|
||||||
'A software library for rapid development of '
|
'A software library for rapid development of '
|
||||||
'hardware-accelerated multitouch applications.'),
|
'hardware-accelerated multitouch applications.'),
|
||||||
|
long_description=get_description(),
|
||||||
ext_modules=ext_modules,
|
ext_modules=ext_modules,
|
||||||
cmdclass=cmdclass,
|
cmdclass=cmdclass,
|
||||||
packages=[
|
packages=[
|
||||||
|
@ -1110,4 +1116,5 @@ else:
|
||||||
url='http://kivy.org',
|
url='http://kivy.org',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
description=('Kivy examples.'),
|
description=('Kivy examples.'),
|
||||||
|
long_description=get_description(),
|
||||||
data_files=list(examples.items()))
|
data_files=list(examples.items()))
|
||||||
|
|
Loading…
Reference in New Issue