Giter Site home page Giter Site logo

pantsbuild / pantsbuild.github.io Goto Github PK

View Code? Open in Web Editor NEW
11.0 32.0 10.0 41.44 MB

Pants Build v1 Documentation (no longer updated, see https://www.pantsbuild.org for v2 documentation)

Home Page: http://pantsbuild.github.io/

CSS 0.13% JavaScript 0.09% HTML 99.77%

pantsbuild.github.io's Introduction

pantsbuild.github.io's People

Contributors

baroquebobcat avatar benjyw avatar blorente avatar cosmicexplorer avatar digwanderlust avatar eric-arellano avatar ericzundel avatar gmalmquist avatar gshuflin avatar illicitonion avatar ity avatar jameskoch avatar jonnylamb avatar jsirois avatar kwlzn avatar lahosken avatar mateor avatar neunenak avatar stuhood avatar wisechengyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pantsbuild.github.io's Issues

Subpar alternative/comparison documentation

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:

  • the par shebang uses python whereas pex uses something like python2.7
  • the par zip has 0 compression which makes the file human readable/search
  • the pex has a .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?

trees of examples

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.