Replaced src/kibot and src/kiplot by entry points
- When using setup.py (pip and Debian) - Also fixed comment in src/kibot - Also changed OS to Independent
This commit is contained in:
parent
4682a5c3c2
commit
e98c0cf933
6
setup.py
6
setup.py
|
|
@ -18,7 +18,8 @@ setup(name='kibot',
|
||||||
url=__url__,
|
url=__url__,
|
||||||
# Packages are marked using __init__.py
|
# Packages are marked using __init__.py
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
scripts=['src/kibot', 'src/kiplot', 'src/kibot-check'],
|
scripts=['src/kibot-check'],
|
||||||
|
entry_points={'console_scripts': ['kibot=kibot.__main__:main', 'kiplot=kibot.__main__:main']},
|
||||||
install_requires=__pypi_deps__,
|
install_requires=__pypi_deps__,
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
classifiers=['Development Status :: 5 - Production/Stable',
|
classifiers=['Development Status :: 5 - Production/Stable',
|
||||||
|
|
@ -26,7 +27,8 @@ setup(name='kibot',
|
||||||
'Intended Audience :: Developers',
|
'Intended Audience :: Developers',
|
||||||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
|
||||||
'Natural Language :: English',
|
'Natural Language :: English',
|
||||||
'Operating System :: POSIX :: Linux',
|
# 'Operating System :: POSIX :: Linux',
|
||||||
|
'Operating System :: OS Independent',
|
||||||
'Programming Language :: Python :: 3',
|
'Programming Language :: Python :: 3',
|
||||||
'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)',
|
'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)',
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright (c) 2020 Salvador E. Tropea
|
# Copyright (c) 2020-2022 Salvador E. Tropea
|
||||||
# Copyright (c) 2020 Instituto Nacional de Tecnología Industrial
|
# Copyright (c) 2020-2022 Instituto Nacional de Tecnología Industrial
|
||||||
# License: GPL-3.0
|
# License: GPL-3.0
|
||||||
# Project: KiBot (formerly KiPlot)
|
# Project: KiBot (formerly KiPlot)
|
||||||
"""
|
"""
|
||||||
KiBot
|
KiBot
|
||||||
|
|
||||||
A tool to automate the generattio of KiCad output documents,
|
A tool to automate the generation of KiCad output documents.
|
||||||
"""
|
"""
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue