summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-07-30 15:00:02 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-07-30 15:00:02 +0200
commit125c66db0d57faf6d84bb4f3e0bd6c41a236276a (patch)
treef69dd518e53389cc6816c245bac0f56eaeae7098
parentc45b184d4c43b736fb8ffcb2f0f89eb7dcef005f (diff)
Add automatic virtualenv provisioner for download and package script
Change-Id: I072d514c7c2f03991caf6714dbdc0d2d7e5c8bb9 Issue-ID: INT-1670 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
-rw-r--r--.gitignore2
-rw-r--r--build/download/tox.ini7
-rw-r--r--build/tox.ini7
3 files changed, 16 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index ffef34ef..6076713f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@ doc
/package.info
/ansible/log/
/*.log
+.tox/
+__pycache__/
diff --git a/build/download/tox.ini b/build/download/tox.ini
new file mode 100644
index 00000000..e4616fff
--- /dev/null
+++ b/build/download/tox.ini
@@ -0,0 +1,7 @@
+[tox]
+envlist = download
+skipsdist = true
+
+[testenv:download]
+basepython = python3
+deps = -r{toxinidir}/requirements.txt
diff --git a/build/tox.ini b/build/tox.ini
new file mode 100644
index 00000000..e14a29c3
--- /dev/null
+++ b/build/tox.ini
@@ -0,0 +1,7 @@
+[tox]
+envlist = package
+skipsdist = true
+
+[testenv:package]
+basepython = python3
+deps = -r{toxinidir}/requirements.txt