diff options
author | Cody Hiar <cody@hiar.ca> | 2021-11-08 10:44:42 -0700 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2021-11-08 10:44:42 -0700 |
commit | 787ebb838510d2915283c78758a36f7dab636384 (patch) | |
tree | f0abd635c8f03d4e83ca8217fe56b8bcaf67eec3 /myapp/BUILD |
Diffstat (limited to 'myapp/BUILD')
-rw-r--r-- | myapp/BUILD | 12 |
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"], +) |