stcgal/setup.py

69 lines
2.6 KiB
Python
Raw Permalink Normal View History

#!/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.
#
import stcgal
from setuptools import setup, find_packages
with open("doc/PyPI.md", "r") as fh:
long_description = fh.read()
setup(
name = "stcgal",
2015-11-23 19:33:26 +01:00
version = stcgal.__version__,
2017-10-12 00:22:25 +02:00
packages = find_packages(exclude=["doc", "tests"]),
install_requires = ["pyserial>=3.0", "tqdm>=4.0.0"],
2016-05-14 13:03:03 +02:00
extras_require = {
"usb": ["pyusb>=1.0.0"]
},
entry_points = {
"console_scripts": [
"stcgal = stcgal.frontend:cli",
],
2015-11-23 21:39:08 +01:00
},
description = "STC MCU ISP flash tool",
long_description = long_description,
long_description_content_type = "text/markdown",
2018-06-26 23:06:30 +02:00
keywords = "stc mcu microcontroller 8051 mcs-51",
2015-11-23 21:39:08 +01:00
url = "https://github.com/grigorig/stcgal",
author = "Grigori Goronzy",
author_email = "greg@kinoho.net",
license = "MIT License",
platforms = "any",
classifiers = [
"Development Status :: 5 - Production/Stable",
2015-11-23 21:39:08 +01:00
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
2018-06-26 23:06:30 +02:00
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
2015-11-23 21:39:08 +01:00
"Topic :: Software Development :: Embedded Systems",
"Topic :: Software Development",
],
2017-10-12 00:22:25 +02:00
test_suite = "tests",
tests_require = ["PyYAML"],
)