Pants logo

Pants

Build system by Twitter, Foursquare, and Square
14
27
+ 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 1.3K GitHub stars and 362 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
10 developers on StackShare have stated that they use Pants.

Why developers like Pants?

Here’s a list of reasons why companies and developers use Pants

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?
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.
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.
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.
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
Apache Ant
Ant is a Java-based build tool. In theory, it is kind of like Make, without Make's wrinkles and with the full portability of pure Java code.
See all alternatives

Pants's Followers
27 developers follow Pants to keep up with related blogs and decisions.
Ben Knowles
John Alton
Maciej Lasyk
Mateo Rodriguez
Yi Cheng
avalonx
Abimael Mtz
afifrizqiawan
Rafael Brandão
Vladimir Chebotarev