aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 340104cec3a9388242ba25461567477b129fc0ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Sample Pants Project

This is just an example of how to use Pants to manage a monorepo. To run from
scratch you will need to activate a python interpreter `3.6.15` and the
following command.

```
./pants run myapp:pex
```

or to build a pex

```
./pants package myapp:pex
./dist/myapp/pex.pex
```

Things Tested:
 - How to include a requirements
 - How to pin a interpreter version (myapp)
 - How to include an additional local dependancy (mylib)