Skip to main content

Description, features and To do

Project description

Description, features and To do

Description

easysetup helps creating a package distribution setup, that also runs tests and creates HTML and PDF documentation, in Windows.

After installation you should edit easysetup.py (where it was installed) to update the default values for DEFAULT_AUTHOR, DEFAULT_EMAIL, DEFAULT_URL, DEFAULT_VERSION and DEFAULT_LICENSE.

When running easysetup without options, everything on the current directory is moved to a _bak directory.

After running easysetup, you can find a build.cmd in the current directory that should be run to build your application (execute build -h to see usage options).

Features:

  • Easy to use, just run easysetup from your application setup directory (which may or may not be empty when easysetup is called).

  • Allows creating source, egg, wheel, win and py2exe dists.

  • All setup configuration is in one file (appinfo.py).

  • Runs tests and creates HTML and PDF documentation (if you have them, of course).

  • Creates templates for Travis, Shippable and tox.

  • Creates a template for development requirements.

  • Creates a template for installation requirements.

  • Creates a template for git VCS exceptions.

  • Creates a template for files to be included in the setup.

  • Creates a template for a README file.

  • Creates a template for wheel setup and Sphinx documentation upload.

  • Can create template files in the doc directory (assumes use of Sphinx and that the sphinx-quickstart command was already executed).

  • Can create an updated reference.rst in the doc directory (assumes previous item with the autodoc extension).

  • Updates usage section in README.rst based on usage.txt if it exists inside your application directory.

  • Backups everything in current directory to _bak directory when run without options.

To do

  • Add appveyor templates.

  • py2exe in Py3.

  • CXF in Py2 and Py3.

  • Checks and error messages.

Installation, usage and options

Installation

$ pip install easysetup

Edit easysetup.py (where it was installed) to update the default values for DEFAULT_AUTHOR, DEFAULT_EMAIL, DEFAULT_URL, DEFAULT_VERSION and DEFAULT_LICENSE.

Usage

$ easysetup

Options

$ easysetup -h
usage: easysetup [-option]

optional arguments:
  -d, --doc             creates template files in the doc directory
  -h, --help            show this help message
  -l, --license         show license
  -r, --reference       creates an updated reference.rst in the doc directory
  -V, --version         show version

No arguments creates setup files.
easysetup should always be run from the application setup directory.

Resources and contributing

Resources

Contributing

  1. Fork the repository on GitHub.

  2. Make a branch of master and commit your changes to it.

  3. Ensure that your name is added to the end of the AUTHORS.rst file using the format: Name <email@domain.com>

  4. Submit a Pull Request to the master branch on GitHub.

Copyright 2009-2015 Joao Carlos Roseta Matos. Licensed under the GNU General Public License v2 or later (GPLv2+).

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

easysetup-0.0.5.zip (587.9 kB view details)

Uploaded Source

Built Distribution

easysetup-0.0.5-py2.py3-none-any.whl (379.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file easysetup-0.0.5.zip.

File metadata

  • Download URL: easysetup-0.0.5.zip
  • Upload date:
  • Size: 587.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for easysetup-0.0.5.zip
Algorithm Hash digest
SHA256 dfb0001dbcf7b3afe3e20c5d66aa9b02c6a7feb0d93bbd499b6cda0143d60f4b
MD5 249d7a7e58d5b858bf8f23fe1ed3ba79
BLAKE2b-256 035602c1de3b671abd6c7798011110bee6df41fad551daae7934db27c4820017

See more details on using hashes here.

File details

Details for the file easysetup-0.0.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for easysetup-0.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ca070e6cc11bb29f3484c553a9d129897684c3c0476bcd6dd4293f53a5dacb8a
MD5 46b9cf6a7f2b8db93ac36d0846f62844
BLAKE2b-256 64cfab78286b6f5584028b628ee7ebbb13f25770f5954dd96c21d93e5129f248

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