Fixed setup.py description mechanism
- Now hardcoded to avoid pulling __main__
This commit is contained in:
parent
ca861fc21e
commit
50b88adee5
5
setup.py
5
setup.py
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
# Package meta-data, mostly from the package
|
# 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.
|
# Use the README.md as a long description.
|
||||||
# Note this is also included in the MANIFEST.in
|
# 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',
|
setup(name='kibot',
|
||||||
version=__version__,
|
version=__version__,
|
||||||
# docopt style: the text after ": " from the first line of the docstring
|
description='KiCad automation tool for documents generation',
|
||||||
description=__doc__.split('\n')[0].split(': ')[1],
|
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
author=__author__,
|
author=__author__,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue