Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
t
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Overview

distutils644 monkey-patches Python distutils to normalize metadata in generated archives:

  • ownership (root:root),
  • permissions (0644 or 0755),
  • order of directory entries (sorted),
  • tar format (ustar).

Usage

Add this to setup.py:

try:
    import distutils644
except ImportError:
    pass
else:
    distutils644.install()

Prerequisites

  • Python 2.7 or ≥ 3.2
  • wheel ≥ 0.7 (for wheel support)

About

Python: normalize ownership, permissions, order of directory entries and tar format in distutils-generated archives

Resources

License

Packages

No packages published