瀏覽代碼

Testing info in README, wider Python compatibility

The library has now been tested with Python 2.7, 3.3, 3.4, 3.5, and 3.6.
The README and setup.py now indicate this.  The README also says how to
run the tests, and that you need a PD Buddy Sink plugged in for them to
be completely thorough.
Clara Hobbs 7 年之前
父節點
當前提交
5a735605fa
共有 2 個文件被更改,包括 15 次插入1 次删除
  1. 12
    1
      README.rst
  2. 3
    0
      setup.py

+ 12
- 1
README.rst 查看文件

@@ -55,6 +55,17 @@ Write the SinkConfig object to flash
55 55
 Requirements
56 56
 ------------
57 57
 
58
--  Python 2.7, 3.6
58
+-  Python 2.7, >= 3.3
59 59
 -  pySerial >= 3.0
60 60
 -  aenum >= 2.0 (if using Python < 3.6)
61
+
62
+Testing
63
+-------
64
+
65
+To run the unit tests, run::
66
+
67
+    $ python setup.py test
68
+
69
+This will test the Sink class only if a PD Buddy Sink is plugged in and in
70
+setup mode, so make sure that's the case if you're testing any changes to the
71
+Sink class.

+ 3
- 0
setup.py 查看文件

@@ -24,6 +24,9 @@ setup(
24 24
         "Operating System :: Microsoft :: Windows",
25 25
         "Programming Language :: Python",
26 26
         "Programming Language :: Python :: 2.7",
27
+        "Programming Language :: Python :: 3.3",
28
+        "Programming Language :: Python :: 3.4",
29
+        "Programming Language :: Python :: 3.5",
27 30
         "Programming Language :: Python :: 3.6",
28 31
         "Topic :: Software Development :: User Interfaces"
29 32
     ],

Loading…
取消
儲存