Pants logo

Pants

Build system by Twitter, Foursquare, and Square
23
86
+ 1
30

What is Pants?

Pants is a build system for Java, Scala and Python. It works particularly well for a source code repository that contains many distinct projects.
Pants is a tool in the Java Build Tools category of a tech stack.
Pants is an open source tool with 3.3K GitHub stars and 628 GitHub forks. Here’s a link to Pants's open source repository on GitHub

Who uses Pants?

Companies
3 companies reportedly use Pants in their tech stacks, including Twitter, Square, and Foursquare.

Developers
19 developers on StackShare have stated that they use Pants.
Pros of Pants
6
Creates deployable packages
4
Runs on Linux
4
Runs on OS X
4
BUILD files
4
Runs tests
4
Scales
2
Flexibility
2
Extensible

Blog Posts

Apache MesosApache AuroraPants+3
2
1674

Pants's Features

  • Builds Java, Scala, and Python.
  • Adding support for new languages is straightforward.
  • Supports code generation: thrift, protocol buffers, custom code generators.
  • Resolves external JVM and Python dependencies.
  • Runs tests.
  • Spawns Python and Scala REPLs with appropriate load paths.
  • Creates deployable packages.
  • Scales to large repos with many interdependent modules.
  • Designed for incremental builds.
  • Support for local and distributed caching.
  • Especially fast for Scala builds, compared to alternatives.
  • Builds standalone python executables (PEX files)
  • Has a plugin system to add custom features and override stock behavior.
  • Runs on Linux and Mac OS X.

Pants Alternatives & Comparisons

What are some alternatives to Pants?
Bazel
Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google's software, and thus it has been designed to handle build problems present in Google's development environment.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
See all alternatives

Pants's Followers
86 developers follow Pants to keep up with related blogs and decisions.