소스 검색

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…
취소
저장