Skip to content

Commit

Permalink
setup requirements-VARIANT.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
dozymoe committed Nov 11, 2020
1 parent bd223e4 commit 322498e
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 112 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
*.orig


# pybuildtool

/build.yml


# python

*.pyc
Expand Down
53 changes: 53 additions & 0 deletions build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
pybuildtool:
options:
pylint_config_file: etc/pylint.rc
pylint_work_dir: "./"

pylint:
raw_file_in: "{_1}/*.py"
raw_depend_in: etc/pylint.rc

addons:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc

core:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc

misc:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc

tests:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc

tools:
pylint:
raw_file_in: "{_1}/{_2}/*.py"
raw_depend_in: etc/pylint.rc

unittest:
shell:
options:
command: ./run pybin coverage run --include=./* -m py.test
rule_in:
- "{_1}/pylint"
- "{_1}/addons/pylint"
- "{_1}/core/pylint"
- "{_1}/misc/pylint"
- "{_1}/tests/pylint"
- "{_1}/tools/pylint"
raw_depend_in: build.yml

coverage:
shell:
options:
command: ./run pybin coverage report -m --skip-covered
rule_in:
- "{_1}/unittest/shell"
2 changes: 1 addition & 1 deletion pybuildtool/wscript.example
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def configure(ctx):
#ctx.load('runit_sv', tooldir=tools_dir)
#ctx.load('roscpplint', tooldir=tools_dir)
#ctx.load('scp', tooldir=tools_dir)
#ctx.load('shell', tooldir=tools_dir)
ctx.load('shell', tooldir=tools_dir)
#ctx.load('sphinx-apidoc', tooldir=tools_dir)
#ctx.load('sphinx-build', tooldir=tools_dir)
#ctx.load('splint', tooldir=tools_dir)
Expand Down
7 changes: 7 additions & 0 deletions requirements-development.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-r requirements-production.txt

coverage
pylint
pytest
twine
wheel
4 changes: 4 additions & 0 deletions requirements-production.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pystache
pyyaml
stringcase
watchdog
106 changes: 0 additions & 106 deletions wscript

This file was deleted.

1 change: 1 addition & 0 deletions wscript

0 comments on commit 322498e

Please sign in to comment.