Fixed setup.py description mechanism

- Now hardcoded to avoid pulling __main__
This commit is contained in:
Salvador E. Tropea 2022-05-19 09:33:32 -03:00
parent ca861fc21e
commit 50b88adee5
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#!/usr/bin/python3
from setuptools import setup, find_packages
# Package meta-data, mostly from the package
from kibot import __author__, __email__, __url__, __doc__, __version__, __pypi_deps__
from kibot import __author__, __email__, __url__, __version__, __pypi_deps__
# Use the README.md as a long description.
# Note this is also included in the MANIFEST.in
@ -10,8 +10,7 @@ with open('README.md', encoding='utf-8') as f:
setup(name='kibot',
version=__version__,
# docopt style: the text after ": " from the first line of the docstring
description=__doc__.split('\n')[0].split(': ')[1],
description='KiCad automation tool for documents generation',
long_description=long_description,
long_description_content_type='text/markdown',
author=__author__,