From 787ebb838510d2915283c78758a36f7dab636384 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 8 Nov 2021 10:44:42 -0700 Subject: Initial commit --- myapp/BUILD | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 myapp/BUILD (limited to 'myapp/BUILD') diff --git a/myapp/BUILD b/myapp/BUILD new file mode 100644 index 0000000..4061830 --- /dev/null +++ b/myapp/BUILD @@ -0,0 +1,12 @@ +python_library() + +# You don't need to pass in 'requirements_relpath' if the file +# is called 'requirements.txt' but I added this just for explicitness +python_requirements(requirements_relpath="requirements.txt") + +pex_binary( + name="pex", + dependencies=["mylib"], + entry_point="myapp.py", + interpreter_constraints=["CPython==3.6.15"], +) -- cgit v1.2.3