summaryrefslogtreecommitdiffstats
path: root/tests/samples/entrypoints_valid/package1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/samples/entrypoints_valid/package1')
-rw-r--r--tests/samples/entrypoints_valid/package1/__init__.py6
-rw-r--r--tests/samples/entrypoints_valid/package1/data_dir/foo.sh2
-rw-r--r--tests/samples/entrypoints_valid/package1/foo.py1
-rw-r--r--tests/samples/entrypoints_valid/package1/subpkg/__init__.py0
-rw-r--r--tests/samples/entrypoints_valid/package1/subpkg/sp_data_dir/test.json1
-rw-r--r--tests/samples/entrypoints_valid/package1/subpkg2/__init__.py0
6 files changed, 10 insertions, 0 deletions
diff --git a/tests/samples/entrypoints_valid/package1/__init__.py b/tests/samples/entrypoints_valid/package1/__init__.py
new file mode 100644
index 0000000..07978d8
--- /dev/null
+++ b/tests/samples/entrypoints_valid/package1/__init__.py
@@ -0,0 +1,6 @@
+"""A sample package"""
+
+__version__ = '0.1'
+
+def main():
+ print("package1 main")
diff --git a/tests/samples/entrypoints_valid/package1/data_dir/foo.sh b/tests/samples/entrypoints_valid/package1/data_dir/foo.sh
new file mode 100644
index 0000000..92abcfb
--- /dev/null
+++ b/tests/samples/entrypoints_valid/package1/data_dir/foo.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+echo "Example data file"
diff --git a/tests/samples/entrypoints_valid/package1/foo.py b/tests/samples/entrypoints_valid/package1/foo.py
new file mode 100644
index 0000000..1337a53
--- /dev/null
+++ b/tests/samples/entrypoints_valid/package1/foo.py
@@ -0,0 +1 @@
+a = 1
diff --git a/tests/samples/entrypoints_valid/package1/subpkg/__init__.py b/tests/samples/entrypoints_valid/package1/subpkg/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/samples/entrypoints_valid/package1/subpkg/__init__.py
diff --git a/tests/samples/entrypoints_valid/package1/subpkg/sp_data_dir/test.json b/tests/samples/entrypoints_valid/package1/subpkg/sp_data_dir/test.json
new file mode 100644
index 0000000..f77d03c
--- /dev/null
+++ b/tests/samples/entrypoints_valid/package1/subpkg/sp_data_dir/test.json
@@ -0,0 +1 @@
+{"example": true}
diff --git a/tests/samples/entrypoints_valid/package1/subpkg2/__init__.py b/tests/samples/entrypoints_valid/package1/subpkg2/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/samples/entrypoints_valid/package1/subpkg2/__init__.py