Skip to content

rossant/pipo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipo

setuptools, pip, PyPI made easy.

Installation

pip install pipo

Dependencies:

  • Python 2 or 3
  • pip
  • twine
  • click
  • requests

Usage

pipo register    # register your new project on PyPI
pipo version     # show the version of the library, and the latest PyPI version
pipo build       # build tar.gz and wheel
pipo release     # upload your files on PyPI using twine
pipo bump        # bump the build version number as defined in your __init__.py
pipo --help      # show the list of commands

Notes

This tool has been tailored to my needs and to the way I structure my Python packages. You may have to fork and adapt it to your own projects.

It is assumed that your library matches one of the following structures:

mylib/                  # root of the git repository
  |- mylib/             # package directory
       |- __init__.py

or for smaller projects:

mylib/                  # root of the git repository
  |- mylib.py           # main file

About pipo bump

The pipo bump command bumps the build number of the version as defined in either libname.py or libname/__init__.py by:

__version__ = 'X.Y.Z'

This command asks for confirmation to commit the change with the Bump version commit message.

About

CLI helper for setuptools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages