Exemple #1
0
"""\
Create distribution packages
"""

import os
from buildkit import stacks

arg_specs = []
child_command_specs = stacks.find_commands(__package__, os.path.dirname(__file__))
help_template = stacks.main_help_template


def run(cmd):
    return 0
Exemple #2
0
from buildkit import stacks
import sys
import os

run_args = stacks.obj(
    summary = 'Perform common tasks relating to generating and building Python packages',
    child_command_specs = stacks.find_commands(
        '%s.command'%__package__, 
        os.path.join(os.path.dirname(__file__), 'command'),
    ),
    facility_specs = stacks.find_facilities(
        '%s.facility'%__package__, 
        os.path.join(os.path.dirname(__file__), 'facility'),
    ),
)

if __name__ == '__main__':
    result = stacks.run(**run_args)
    sys.exit(result)