Web Mirror of Pants Build documentation
To learn where these docs came from and how to change them, please see http://pantsbuild.github.io/docs.html and http://pantsbuild.github.io/howto_contribute.html
Pants Build v1 Documentation (no longer updated, see https://www.pantsbuild.org for v2 documentation)
Home Page: http://pantsbuild.github.io/
To learn where these docs came from and how to change them, please see http://pantsbuild.github.io/docs.html and http://pantsbuild.github.io/howto_contribute.html
The PEX Design page doesn't list subpar as an alternative, although it seems to be.
At a glance (using a sample pex from heron) both produce python zip files:
python
whereas pex uses something like python2.7
.bootstrap/
(including bytecode cache) and PEX-INFO
I don't know how much is configurable between the two, or how different situations are handled (such as C extensions). It looks like pex isn't very portable, but handles dependencies at least a bit differently.
Does anyone know the two well enough to be able to give a fairly detailed comparison on the practical differences?
par-example
├── __main__.py
├── org_apache_heron
│ └── heron
│ ├── common
│ │ ├── __init__.py
│ │ └── tests
│ │ ├── __init__.py
│ │ └── python
│ │ ├── __init__.py
│ │ └── pex_loader
│ │ ├── __init__.py
│ │ └── testdata
│ │ ├── __init__.py
│ │ └── src
│ │ ├── __init__.py
│ │ ├── sample
│ │ └── sample.py
│ └── __init__.py
└── subpar
├── __init__.py
└── runtime
├── __init__.py
└── support.py
10 directories, 13 files
pex-example
├── .bootstrap
│ ├── __init__.py
│ ├── _markerlib
│ │ ├── __init__.py
│ │ ├── __init__.pyc
│ │ ├── markers.py
│ │ └── markers.pyc
│ ├── _pex
│ │ ├── archiver.py
│ │ ├── archiver.pyc
│ │ ├── base.py
│ │ ├── base.pyc
│ │ ├── common.py
│ │ ├── common.pyc
│ │ ├── compatibility.py
│ │ ├── compatibility.pyc
│ │ ├── compiler.py
│ │ ├── compiler.pyc
│ │ ├── crawler.py
│ │ ├── crawler.pyc
│ │ ├── environment.py
│ │ ├── environment.pyc
│ │ ├── fetcher.py
│ │ ├── fetcher.pyc
│ │ ├── finders.py
│ │ ├── finders.pyc
│ │ ├── http.py
│ │ ├── http.pyc
│ │ ├── __init__.py
│ │ ├── __init__.pyc
│ │ ├── installer.py
│ │ ├── installer.pyc
│ │ ├── interpreter.py
│ │ ├── interpreter.pyc
│ │ ├── iterator.py
│ │ ├── iterator.pyc
│ │ ├── link.py
│ │ ├── link.pyc
│ │ ├── orderedset.py
│ │ ├── orderedset.pyc
│ │ ├── package.py
│ │ ├── package.pyc
│ │ ├── pep425.py
│ │ ├── pep425.pyc
│ │ ├── pex_bootstrapper.py
│ │ ├── pex_bootstrapper.pyc
│ │ ├── pex_builder.py
│ │ ├── pex_builder.pyc
│ │ ├── pex_info.py
│ │ ├── pex_info.pyc
│ │ ├── pex.py
│ │ ├── pex.pyc
│ │ ├── platforms.py
│ │ ├── platforms.pyc
│ │ ├── requirements.py
│ │ ├── requirements.pyc
│ │ ├── resolvable.py
│ │ ├── resolvable.pyc
│ │ ├── resolver_options.py
│ │ ├── resolver_options.pyc
│ │ ├── resolver.py
│ │ ├── resolver.pyc
│ │ ├── sorter.py
│ │ ├── sorter.pyc
│ │ ├── testing.py
│ │ ├── testing.pyc
│ │ ├── tracer.py
│ │ ├── tracer.pyc
│ │ ├── translator.py
│ │ ├── translator.pyc
│ │ ├── util.py
│ │ ├── util.pyc
│ │ ├── variables.py
│ │ ├── variables.pyc
│ │ ├── version.py
│ │ └── version.pyc
│ ├── pkg_resources
│ │ ├── __init__.py
│ │ ├── __init__.pyc
│ │ └── _vendor
│ │ ├── __init__.py
│ │ ├── __init__.pyc
│ │ └── packaging
│ │ ├── __about__.py
│ │ ├── __about__.pyc
│ │ ├── _compat.py
│ │ ├── _compat.pyc
│ │ ├── __init__.py
│ │ ├── __init__.pyc
│ │ ├── specifiers.py
│ │ ├── specifiers.pyc
│ │ ├── _structures.py
│ │ ├── _structures.pyc
│ │ ├── version.py
│ │ └── version.pyc
│ ├── pkg_resources.py
│ └── pkg_resources.pyc
├── heron
│ ├── common
│ │ ├── __init__.py
│ │ └── tests
│ │ ├── __init__.py
│ │ └── python
│ │ ├── __init__.py
│ │ └── pex_loader
│ │ ├── __init__.py
│ │ └── testdata
│ │ ├── __init__.py
│ │ └── src
│ │ ├── __init__.py
│ │ ├── sample.py
│ │ └── sample.pyc
│ └── __init__.py
├── __main__.py
├── __main__.pyc
└── PEX-INFO
13 directories, 103 files
Under https://v1.pantsbuild.org/howto_plugin.html links to pants repository lead to a 404 page not found result.
Examples:
https://github.com/pantsbuild/pants/blob/main/src/python/pants/backend/jvm/register.py
https://github.com/pantsbuild/pants/blob/main/src/python/pants/task/task.py
The current doc refer to source tree in twitter/commons
As far as i know..
I need to replace the files in this review and fix the docs.
It seems the styling of the documentation pages are broken. I think this happened after commit 528d92f . I would love to fix it, but I'm not sure what it should be.
It doesn't seem like https://github.com/ericzundel/mvn2pants is believed to work (cf. ericzundel/mvn2pants#1 (comment), ericzundel/mvn2pants#2).
I don't think linking to it in the docs makes sense in this state!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.