Explorar el Código

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 hace 7 años
padre
commit
5a735605fa
Se han modificado 2 ficheros con 15 adiciones y 1 borrados
  1. 12
    1
      README.rst
  2. 3
    0
      setup.py

+ 12
- 1
README.rst Ver fichero

@@ -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 Ver fichero

@@ -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…
Cancelar
Guardar