Skip to main content

Simplifies Python application rollout and publishing.

Project description

https://github.com/idlesign/makeapp

LBC Python 2

release lic ci coverage

Description

Simplifies Python application rollout and publishing.

  • Make a skeleton for your new application with one console command.

  • Automatically create a VCS repository for your application.

  • Automatically check whether the chosen application name is not already in use.

  • Customize new application layouts with skeleton templates.

  • Put some skeleton default settings into a configuration file not to mess with command line switches anymore.

  • Easily add entries to your changelog.

  • Publish your application to remotes (VCS, PyPI) with single command.

Application scaffolding

Scaffold a new application:

$ makeapp new my_new_app /home/librarian/mynewapp/ -d "My application." --author "The Librarian"

This will create a decent application skeleton using the default skeleton template (setup.py, docs, tests, etc.) and initialize Git repository.

makeapp also bundles templates for commonly used application types:

Multiple templates can be used together. Complete list of featured templates can be found in the documentation. User-made templates are also supported.

Application publishing

When you’re ready to publish issue the following command while in project directory (containing setup.py):

$ makeapp release
; Bump version number part manually: major, minor, patch
$ makeapp release --increment major

This will automatically:

  • bump up application version number

  • tag version in VCS

  • push sources to remote repository

  • upload application package to PyPI

Adding changes

When you’re ready to add another entry to your changelog use change command:

$ makeapp change "+ New 'change' command implemented"

This will also stage and commit all changed files.

Supported message prefixes:

  • + - New feature / addition.

    Increments minor part of version number on release command.

  • ! - Important change/improvement/fix.

    Increment: patch part.

  • - - Feature deprecation / removal

    Increment: patch.

  • * - Minor change/improvement/fix. * prefix is added by default if none of the above mentioned prefixes found.

    Increment: patch.

Bash completion

To enable bash completion for makeapp command append the following line into your .bashrc:

eval "$(_MAKEAPP_COMPLETE=source makeapp)"

Documentation

https://makeapp.readthedocs.org/

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

makeapp-1.7.1.tar.gz (66.9 kB view details)

Uploaded Source

Built Distribution

makeapp-1.7.1-py2.py3-none-any.whl (83.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file makeapp-1.7.1.tar.gz.

File metadata

  • Download URL: makeapp-1.7.1.tar.gz
  • Upload date:
  • Size: 66.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for makeapp-1.7.1.tar.gz
Algorithm Hash digest
SHA256 d8fb85c395c59c177d94fca627f6fcd2fa5f3a71d081eba6e693eeb6f6816c39
MD5 56886c639690b3dfeb6b94e428d357f8
BLAKE2b-256 97d3c27f47a6886038ed7812fbcd0a1655dfb64e012045335152d5fe9fdae817

See more details on using hashes here.

File details

Details for the file makeapp-1.7.1-py2.py3-none-any.whl.

File metadata

  • Download URL: makeapp-1.7.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 83.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/2.7

File hashes

Hashes for makeapp-1.7.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e3d2b32fb9088f99d1459a5111c2660695e471705bc7f98ecb81495213a59e15
MD5 99c29a14671a8e32ab75a8fbe36aa8fa
BLAKE2b-256 174bde3a477c9bffee95146d39c12bf9931c918ee534fa170bf2e7a7c8406e57

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page