Packaging User Guide¶

So you want to package a Python application using PyOxidizer? You’ve come to the right place to learn how! Read on for all the details on how to oxidize your Python application!

First, you’ll need to install PyOxidizer. See Installing for instructions.

  • Creating a PyOxidizer Project
  • Managing Resources and Their Locations
    • Resource Types
    • Python Resource Locations
    • Python Resource Location Policies
    • Routing Python Resources to Locations
    • PythonExtensionModule Location Compatibility
  • Packaging an Application from a PyPI Package
  • Packaging Additional Files
  • Trimming Unused Resources
  • PyOxidizer’s Importer
    • High-Level Operation
    • Python API
    • Behavior and Compliance
    • __file__ and __cached__ Module Attributes
    • __path__ Module Attribute
    • ResourceReader Compatibility
    • ResourceLoader Compatibility
    • importlib.metadata Compatibility
  • Loading Resource Files
    • Python Resource Loading Mechanisms
    • Support for ResourceReader
    • Support for ResourceLoader
    • Support for __file__
    • Support for pkg_resources
    • Porting Code to Modern Resources APIs
    • Maintaining Compatibility With Python <3.7
  • Performance of Built Binaries
    • Resources Data Compiled Into Binary
    • Ignoring site
  • Packaging Pitfalls
    • C and Other Native Extension Modules
    • Identifying PyOxidizer
  • Masquerading As Other Packaging Tools
  • Binary Compatibility
    • Windows
    • macOS
    • Linux
  • Static Linking
    • Building Fully Statically Linked Binaries on Linux
    • Implications of Static Linking
  • Licensing Considerations
    • Showing Python Distribution Licenses
  • Terminfo Database

PyOxidizer

Navigation

  • Overview
  • Getting Started
  • The pyoxidizer Command Line Tool
  • Configuration Files
  • Packaging User Guide
    • Creating a PyOxidizer Project
    • Managing Resources and Their Locations
    • Packaging an Application from a PyPI Package
    • Packaging Additional Files
    • Trimming Unused Resources
    • PyOxidizer’s Importer
    • Loading Resource Files
    • Performance of Built Binaries
    • Packaging Pitfalls
    • Masquerading As Other Packaging Tools
    • Binary Compatibility
    • Static Linking
    • Licensing Considerations
    • Terminfo Database
  • PyOxidizer for Rust Developers
  • Configuration File API Reference
  • Frequently Asked Questions
  • Project Status
  • Comparisons to Other Tools
  • Contributing to PyOxidizer
  • Project History
  • Technical Notes

Related Topics

  • Documentation overview
    • Previous: Configuration Files
    • Next: Creating a PyOxidizer Project

Quick search

©2019, Gregory Szorc. | Powered by Sphinx 5.0.2 & Alabaster 0.7.12 | Page source