2015-11-23 19:12:03 +01:00
|
|
|
#!/usr/bin/env python3
|
2016-05-12 01:25:22 +02:00
|
|
|
#
|
|
|
|
# Copyright (c) 2016 Grigori Goronzy <greg@chown.ath.cx>
|
|
|
|
#
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
|
|
# in the Software without restriction, including without limitation the rights
|
|
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
|
|
# furnished to do so, subject to the following conditions:
|
|
|
|
#
|
|
|
|
# The above copyright notice and this permission notice shall be included in all
|
|
|
|
# copies or substantial portions of the Software.
|
|
|
|
#
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
# SOFTWARE.
|
|
|
|
#
|
2015-11-23 19:12:03 +01:00
|
|
|
|
|
|
|
import stcgal
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name = "stcgal",
|
2015-11-23 19:33:26 +01:00
|
|
|
version = stcgal.__version__,
|
2015-11-23 19:12:03 +01:00
|
|
|
packages = find_packages(exclude=["doc"]),
|
|
|
|
install_requires = ["pyserial"],
|
2016-05-14 13:03:03 +02:00
|
|
|
extras_require = {
|
|
|
|
"usb": ["pyusb>=1.0.0"]
|
|
|
|
},
|
2015-11-23 19:12:03 +01:00
|
|
|
entry_points = {
|
|
|
|
"console_scripts": [
|
|
|
|
"stcgal = stcgal.frontend:cli",
|
|
|
|
],
|
2015-11-23 21:39:08 +01:00
|
|
|
},
|
|
|
|
description = "STC MCU ISP flash tool",
|
|
|
|
url = "https://github.com/grigorig/stcgal",
|
|
|
|
author = "Grigori Goronzy",
|
|
|
|
author_email = "greg@kinoho.net",
|
|
|
|
license = "MIT License",
|
|
|
|
platforms = "any",
|
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"Environment :: Console",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Operating System :: POSIX",
|
|
|
|
"Operating System :: Microsoft :: Windows",
|
|
|
|
"Operating System :: MacOS",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Topic :: Software Development :: Embedded Systems",
|
|
|
|
"Topic :: Software Development",
|
|
|
|
],
|
2015-11-23 19:12:03 +01:00
|
|
|
)
|