diff options
Diffstat (limited to 'integration-tests/pip-test/expected/hello/usr')
9 files changed, 51 insertions, 0 deletions
diff --git a/integration-tests/pip-test/expected/hello/usr/bin/hello b/integration-tests/pip-test/expected/hello/usr/bin/hello new file mode 100755 index 000000000..c1cd3ca66 --- /dev/null +++ b/integration-tests/pip-test/expected/hello/usr/bin/hello @@ -0,0 +1,10 @@ +#!/usr/bin/python3 +# EASY-INSTALL-ENTRY-SCRIPT: 'hello==0.1','console_scripts','hello' +__requires__ = 'hello==0.1' +import sys +from pkg_resources import load_entry_point + +if __name__ == '__main__': + sys.exit( + load_entry_point('hello==0.1', 'console_scripts', 'hello')() + ) diff --git a/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/PKG-INFO b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/PKG-INFO new file mode 100644 index 000000000..9e9aa2fe6 --- /dev/null +++ b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/PKG-INFO @@ -0,0 +1,10 @@ +Metadata-Version: 1.0 +Name: hello +Version: 0.1 +Summary: Hello, world! +Home-page: UNKNOWN +Author: Mathieu Bridon +Author-email: bochecha@daitauha.fr +License: MIT +Description: A dummy project to test the pip element in BuildStream +Platform: UNKNOWN diff --git a/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/SOURCES.txt b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/SOURCES.txt new file mode 100644 index 000000000..613c32f69 --- /dev/null +++ b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/SOURCES.txt @@ -0,0 +1,6 @@ +hello/__init__.py +hello.egg-info/PKG-INFO +hello.egg-info/SOURCES.txt +hello.egg-info/dependency_links.txt +hello.egg-info/entry_points.txt +hello.egg-info/top_level.txt
\ No newline at end of file diff --git a/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/dependency_links.txt b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/dependency_links.txt new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/entry_points.txt b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/entry_points.txt new file mode 100644 index 000000000..f65ce1f13 --- /dev/null +++ b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/entry_points.txt @@ -0,0 +1,3 @@ +[console_scripts] +hello = hello:main + diff --git a/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/installed-files.txt b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/installed-files.txt new file mode 100644 index 000000000..a6a125251 --- /dev/null +++ b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/installed-files.txt @@ -0,0 +1,8 @@ +../../../../bin/hello +../hello/__init__.py +../hello/__pycache__/__init__.cpython-35.pyc +PKG-INFO +SOURCES.txt +dependency_links.txt +entry_points.txt +top_level.txt diff --git a/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/top_level.txt b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/top_level.txt new file mode 100644 index 000000000..ce0136250 --- /dev/null +++ b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello-0.1-py3.5.egg-info/top_level.txt @@ -0,0 +1 @@ +hello diff --git a/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello/__init__.py b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello/__init__.py new file mode 100644 index 000000000..4e00169b0 --- /dev/null +++ b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello/__init__.py @@ -0,0 +1,12 @@ +def hello(name='world'): + return 'Hello, {name}!'.format(name=name) + + +def main(): + import argparse + + parser = argparse.ArgumentParser() + parser.add_argument('name', nargs='?', default='world') + args = parser.parse_args() + + print(hello(args.name)) diff --git a/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello/__pycache__/__init__.cpython-35.pyc b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello/__pycache__/__init__.cpython-35.pyc Binary files differnew file mode 100644 index 000000000..19f41ac78 --- /dev/null +++ b/integration-tests/pip-test/expected/hello/usr/lib/python3.5/site-packages/hello/__pycache__/__init__.cpython-35.pyc |