Browse Source

Create packaging information for version 0.1.0

Clara Hobbs 2 years ago
parent
commit
6ab4cc0c4c
4 changed files with 55 additions and 4 deletions
  1. 0
    3
      README.md
  2. 19
    0
      README.rst
  3. 1
    1
      alpaca_isp/__init__.py
  4. 35
    0
      setup.py

+ 0
- 3
README.md View File

@@ -1,3 +0,0 @@
1
-# Alpaca ISP
2
-
3
-In-system programming tool for LPC microcontrollers

+ 19
- 0
README.rst View File

@@ -0,0 +1,19 @@
1
+Alpaca ISP
2
+==========
3
+
4
+In-system programming tool for LPC microcontrollers
5
+
6
+Features
7
+--------
8
+
9
+-  Provides a Pythonic interface to the LPC ISP command handler
10
+-  Can put microcontrollers into ISP mode by manipulating the serial port's DTR
11
+   (/RST) and RTS (/ISP) lines
12
+-  Convenient command-line interface for flashing from build systems
13
+
14
+Requirements
15
+------------
16
+
17
+-  Python 3.6 (probably works with older versions of Python 3, but untested)
18
+-  PySerial >= 3.4
19
+-  IntelHex >= 2.1

+ 1
- 1
alpaca_isp/__init__.py View File

@@ -14,7 +14,7 @@
14 14
 """In-system programming tool for LPC microcontrollers"""
15 15
 
16 16
 __author__ = "Clayton G. Hobbs"
17
-__version__ = "0"
17
+__version__ = "0.1.0"
18 18
 
19 19
 import argparse
20 20
 import sys

+ 35
- 0
setup.py View File

@@ -0,0 +1,35 @@
1
+from setuptools import setup
2
+
3
+with open("README.rst") as file:
4
+    long_description = file.read()
5
+
6
+setup(
7
+    name = "alpaca_isp",
8
+    version = "0.1.0",
9
+    author = "Clayton G. Hobbs",
10
+    author_email = "clay@lakeserv.net",
11
+    description = "In-system programming tool for LPC microcontrollers",
12
+    license = "Apache",
13
+    keywords = "lpc microcontroller mcu flash isp",
14
+    url = "https://git.clayhobbs.com/clay/alpaca_isp",
15
+    packages = ['alpaca_isp'],
16
+    long_description = long_description,
17
+    classifiers = [
18
+        "Development Status :: 3 - Alpha",
19
+        "Environment :: Console",
20
+        "Intended Audience :: Developers",
21
+        "License :: OSI Approved :: Apache Software License",
22
+        "Operating System :: MacOS :: MacOS X",
23
+        "Operating System :: Microsoft :: Windows",
24
+        "Operating System :: POSIX",
25
+        "Programming Language :: Python :: 3 :: Only",
26
+        "Programming Language :: Python :: 3.6",
27
+        "Topic :: Software Development :: Embedded Systems"
28
+    ],
29
+    install_requires=["pyserial>=3.4", "IntelHex>=2.1"],
30
+    entry_points = {
31
+        "console_scripts": [
32
+            "alpaca_isp=alpaca_isp:main"
33
+        ]
34
+    }
35
+)

Loading…
Cancel
Save