Commit Graph

8 Commits

Author SHA1 Message Date
Grigori Goronzy
532363d97b Exclude test directory from build 2017-09-18 15:42:08 +02:00
Grigori Goronzy
6dccf13fb6 Add missing test dependency
PyYAML is needed to parse the programming simulation data.
2017-09-02 00:08:28 +02:00
Grigori Goronzy
cf68e3c6dc Add initial tests
This adds various tests, integrated into setuptools. These use "monkey
patching" where needed to mock the pyserial and packet reader/writer
functionality to allow for testing with no changes.

The code should be refactored to simplify testing, but this is good enough
to stop regressions for now.
2017-09-01 23:55:46 +02:00
Grigori Goronzy
81c890337e usb15: make USB support optional 2016-05-14 13:03:03 +02:00
Grigori Goronzy
2a770bb37f Add missing license header 2016-05-12 01:25:22 +02:00
Grigori Goronzy
af35a6ba51 setup: add metadata 2015-11-23 22:19:21 +01:00
Grigori Goronzy
b96bc39948 setup: use version from package 2015-11-23 22:19:21 +01:00
Grigori Goronzy
bc242390e7 Add packaging infrastructure
Split up single script into a package with multiple modules.
Also add a setuptools control file. With this, stcgal can be
installed like any other program. It's still possible to launch
from the sources directly. stcgal.py has been converted into a
simple launcher.

v2: fix imports
2015-11-23 22:19:06 +01:00