37 lines
1.5 KiB
Python
37 lines
1.5 KiB
Python
#!/usr/bin/python3
|
|
from setuptools import setup, find_packages
|
|
# Package meta-data, mostly from the package
|
|
from kibot.__main__ import __author__, __email__, __url__, __doc__, __version__
|
|
|
|
# Use the README.md as a long description.
|
|
# Note this is also included in the MANIFEST.in
|
|
with open('README.md', encoding='utf-8') as f:
|
|
long_description = '\n' + f.read()
|
|
|
|
setup(name='kibot',
|
|
version=__version__,
|
|
# docopt style: the text after ": " from the first line of the docstring
|
|
description=__doc__.split('\n')[0].split(': ')[1],
|
|
long_description=long_description,
|
|
long_description_content_type='text/markdown',
|
|
author=__author__,
|
|
author_email=__email__,
|
|
url=__url__,
|
|
# Packages are marked using __init__.py
|
|
packages=find_packages(),
|
|
scripts=['src/kibot', 'src/kiplot'],
|
|
install_requires=['kiauto', 'pyyaml', 'xlsxwriter', 'colorama', 'requests', 'qrcodegen'],
|
|
classifiers=['Development Status :: 5 - Production/Stable',
|
|
'Environment :: Console',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
|
'Natural Language :: English',
|
|
'Operating System :: POSIX :: Linux',
|
|
'Programming Language :: Python :: 3',
|
|
'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)',
|
|
],
|
|
platforms='POSIX',
|
|
license='GPL-3.0',
|
|
python_requires='>=3.6',
|
|
)
|