diff --git a/doc/PyPI.md b/doc/PyPI.md new file mode 100644 index 0000000..694fd92 --- /dev/null +++ b/doc/PyPI.md @@ -0,0 +1,18 @@ +stcgal - STC MCU ISP flash tool +=============================== + +stcgal is a command line flash programming tool for [STC MCU Ltd](http://stcmcu.com/). +8051 compatible microcontrollers. + +STC microcontrollers have an UART/USB based boot strap loader (BSL). It +utilizes a packet-based protocol to flash the code memory and IAP +memory over a serial link. This is referred to as in-system programming +(ISP). The BSL is also used to configure various (fuse-like) device +options. Unfortunately, this protocol is not publicly documented and +STC only provide a (crude) Windows GUI application for programming. + +stcgal is a full-featured Open Source replacement for STC's Windows +software; it supports a wide range of MCUs, it is very portable and +suitable for automation. + +[See the GitHub page for more information](https://github.com/grigorig/stcgal). \ No newline at end of file diff --git a/setup.py b/setup.py index e16ae22..6faa5f8 100755 --- a/setup.py +++ b/setup.py @@ -24,14 +24,15 @@ import stcgal from setuptools import setup, find_packages -with open("README.md", "r") as fh: +with open("doc/PyPI.md", "r") as fh: long_description = fh.read() setup( name = "stcgal", version = stcgal.__version__, packages = find_packages(exclude=["doc", "tests"]), - install_requires = ["pyserial", "tqdm"], + data_files = [("doc", ["README.md", "doc/FAQ.md", "doc/MODELS.md", "doc/USAGE.md"])], + install_requires = ["pyserial>=3.0", "tqdm>=4.0.0"], extras_require = { "usb": ["pyusb>=1.0.0"] }, @@ -50,7 +51,7 @@ setup( license = "MIT License", platforms = "any", classifiers = [ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License",