Commit graph

2 commits

Author SHA1 Message Date
Rey Tucker
75906e68e5 host: python: improve import_header.py script
fixes:
 - Script will now look in the same dir as the input file
   (e.g. ../../../libbladeRF/include/) for other headers. This
   is specifically to let it find bladeRF1.h and bladeRF2.h
   more expeditiously.
 - Create a stoplist of lines to not include in the output.
   This largely consists of typedefs from pycparser's fake
   system header files.
2018-09-27 14:45:16 -04:00
Rey Tucker
5240d995b0
host: python: Python packaging (#18)
* host: python: reorganize files for packaging

* host: python: move bladerf-tool CLI into main()

* host: python: move cdef string into its own file

Since packaging lets us have multiple files easily, this cleans up
bladerf.py a lot.

* host: python: add __init__.py skeleton

* host: python: fixup py3flakes and pycodestyle

* host: python: fix unused local variable

* host: python: more reorganization to appease Python

* host: python: update .gitignore for setup detritus

* host: python: initial setup.py

* host: python: update accompanying documentation

* host: python: cleanup setup.py

* host: python: move license stuff into files

* host: python: version 1.0.0
2018-03-26 12:26:46 -04:00