aboutsummaryrefslogtreecommitdiff
path: root/myapp/BUILD
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2021-11-08 10:44:42 -0700
committerCody Hiar <cody@hiar.ca>2021-11-08 10:44:42 -0700
commit787ebb838510d2915283c78758a36f7dab636384 (patch)
treef0abd635c8f03d4e83ca8217fe56b8bcaf67eec3 /myapp/BUILD
Initial commitHEADmaster
Diffstat (limited to 'myapp/BUILD')
-rw-r--r--myapp/BUILD12
1 files changed, 12 insertions, 0 deletions
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"],
+)