Browse Source

pull in Makefile and add coverage module..

main
John-Mark Gurney 5 years ago
parent
commit
7d54899948
3 changed files with 16 additions and 0 deletions
  1. +9
    -0
      Makefile
  2. +4
    -0
      requirements.txt
  3. +3
    -0
      setup.py

+ 9
- 0
Makefile View File

@@ -0,0 +1,9 @@
DIRS=RainEagle

MODULES=RainEagle.parse

test:
(ls $(DIRS)/*.py | entr sh -c 'python -m coverage run -m unittest $(MODULES) && coverage report --omit=p/\* -m -i')

env:
(virtualenv p && . ./p/bin/activate && pip install -r requirements.txt)

+ 4
- 0
requirements.txt View File

@@ -0,0 +1,4 @@
# use setup.py for dependancy info
-e .

-e .[dev]

+ 3
- 0
setup.py View File

@@ -32,6 +32,9 @@ setup(
description='Python Class for utilizing the Rainforest Automation Eagle ( RFA-Z109 ) socket API.',
download_url='https://github.com/evilpete/RainEagle/archive/0.1.8.tar.gz',
long_description=open('README.md').read(),
extras_require = {
'dev': [ 'coverage' ],
},
cmdclass = { 'install_scripts': install_scripts_and_symlinks }
)



Loading…
Cancel
Save