aboutsummaryrefslogtreecommitdiff
path: root/myapp/BUILD
blob: 4061830519b8a344346331d88ec4a195e073b683 (plain)
1
2
3
4
5
6
7
8
9
10
11
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"],
)