-2

How do you install pants in Python?

I've been searching a while in Google and couldn't get a straight answer for it.

I'm currently using Linux Mint and Python version 2.7.3.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
Kenken
  • 197
  • 1
  • 2
  • 11

1 Answers1

2

To give a little detail, installing a release from pypi is probably the best way. Pants has a shell script that handles that install. This is all available in the documentation but here it is without needing an outside link:

curl -L -O https://pantsbuild.github.io/setup/pants && chmod +x pants && touch pants.ini

You are ready to go. Run ./pants --version and that will create the pants virtualenv for you.

Eric
  • 2,636
  • 21
  • 25
mateor
  • 1,293
  • 1
  • 16
  • 19