Pants logo

Pants

Build system by Twitter, Foursquare, and Square
23
85
+ 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 3K GitHub stars and 587 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
1642

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.
Gradle
Gradle is a build tool with a focus on build automation and support for multi-language development. If you are building, testing, publishing, and deploying software on any platform, Gradle offers a flexible model that can support the entire development lifecycle from compiling and packaging code to publishing web sites.
CMake
It is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of the user's choice.
Apache Maven
Maven allows a project to build using its project object model (POM) and a set of plugins that are shared by all projects using Maven, providing a uniform build system. Once you familiarize yourself with how one Maven project builds you automatically know how all Maven projects build saving you immense amounts of time when trying to navigate many projects.
Sonatype Nexus
It is an open source repository that supports many artifact formats, including Docker, Java™ and npm. With the Nexus tool integration, pipelines in your toolchain can publish and retrieve versioned apps and their dependencies
See all alternatives

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