martibosch / cookiecutter-pipproject

A(nother) cookiecutter template for pip-installable python projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CookieCutter Pip-Project

A cookiecutter template for python projects intended to be pip-installed, based on cookiecutter

Features

Usage

  1. Generate a Python package project with cookiecutter as in

     pip install cookiecutter
     cookiecutter https://github.com/martibosch/cookiecutter-pipproject.git
    

    You will be asked about your basic info (name, project name, short description, etc.), which will be used in your new project.

  2. Create a git repository for the project

  3. Add the repository to your Travis-CI account

  4. Add the repository to your coveralls account

  5. Register your project to PyPI e.g. via twine

     pip install twine
     python setup.py sdist bdist_wheel
     twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
    
  6. Add your encrypted PyPI password to the .travis.yml file for automated PyPI deployment. Note that this requires the Travis command line tool

     travis encrypt --add deploy.password
    

Thereupon, each time you push a tag to the master branch, successful Travis-CI builds will automatically deploy your package to PyPI

About

A(nother) cookiecutter template for pip-installable python projects


Languages

Language:Python 100.0%