Use readme as long description in setup.py.
This commit is contained in:
parent
7e577886a0
commit
072d704439
13
setup.py
13
setup.py
|
@ -11,11 +11,22 @@ from setuptools import setup
|
|||
|
||||
packages = ['llvm_emulator']
|
||||
|
||||
with open('README') as f:
|
||||
long_description = f.read()
|
||||
try:
|
||||
# Look for a org mode header within the first 200 chars. If
|
||||
# nothing is found, we just use the entire readme file as the
|
||||
# description, by not updating long_description
|
||||
start_index = long_description.index('\n*', 0, 200) + 1
|
||||
long_description = long_description[start_index:]
|
||||
except:
|
||||
pass
|
||||
|
||||
setup(
|
||||
name='llvm--emulator',
|
||||
version='1.0.0',
|
||||
description='A simple hacky emulator/debugger for LLVM--',
|
||||
long_description='TODO',
|
||||
long_description=long_description,
|
||||
url='https://gitlab.com/cfreksen/llvm--emulator',
|
||||
author='Casper Freksen',
|
||||
author_email='cfreksen@cs.au.dk',
|
||||
|
|
Loading…
Reference in New Issue
Block a user