A packaging utility for creating packages of files for distribution based on a YAML manifest.
Project description
A tool for packaging a set of files for distribution using a YAML manifest definition from the packageManifest project.
1 Main Features
Simple default operation
zip or tar-gzip package generation (or both)
Specify project path to build package from
Append manifest files to an existing tar or zip package
2 Installation
The simplest way to acquire distributionPackage is using pip.
pip install distributionPackage
It’s highly recommended that you install the package into a Python virtual environment.
3 Getting Started
Define a package manifest in a YAML file. The default name expected by distributionPackage is manifest.yml. The example below constructs a simple manifest for a hypothetical C++ project.
- include:
files: [ 'README.md', 'LICENSE', 'VERSION' ]
- global-include:
files: [ '*.h', '*.cpp' ]
- prune:
directory: 'scripts'
Assuming that you have installed distributionPackage and that the makePackage command is in your path,
makePackage
By default makePackage will acquire the manifest definitions from ./manifest.yml, output a file distribution-out.tar.gz in the current directory and assume that the current directory is the root directory of the project to be packaged (for the basis of constructing the package file names from the manifest).
makePackage --help
Using the --help option will describe the various options available.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for distributionPackage-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e97d3f8201ede2b44afbace9d2920be60362d11fa97ba513d38c93452e1a648 |
|
MD5 | e55330ffae21b54d3f2b36b92ca4def1 |
|
BLAKE2b-256 | cc1976fdae3b31486e3830d4a14f907ac41a1d3a879462e505594fa18bb1ecdd |
Hashes for distributionPackage-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659320ecb6c774a931a7b3648f25e78e13abef491008d5e5d34abf54ee78a576 |
|
MD5 | a5d30c099c1800bb048f6aacdc1ac10d |
|
BLAKE2b-256 | c7abd440c688e13cdb78886e2b3cc81a7d7da5cc8e8ddcaa6164171ad0b01717 |