This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

pypi-up a simple command line tool to increase version number of package and release it on Pypi

Project Description

#PYPI-UP

A tool to release package on Pypi, by incrementing the version number. It also git tag the version and push it to the repository.

##### Requirements: - git

## Installation and setup

pip install pypi-up

pypi-up –setup

## CLI

### Release the current version

pypi-up

follow the prompt

### Increment version and release

#### Increase the patch number

pypi-up -p

> 0.0.1

#### Increase the minor number

pypi-up -m

> 0.1.0

#### Increase the major number

pypi-up -j

> 1.0.0

#### Manually changed the number

pypi-up -e 1.2.3

> 1.2.3

#### Dry Run

If you want to test the release process, you can do a dry run

pypi-up –dry

### Skip prompt

To skip the prompt

pypi-up -x

### setup.cfg and __about__.py

setup.cfg is a config file that host the version number and the pypi-up file to update.

__about__.py contains the package’s info, such as name, author, license and __version__ which is the version number of the application. __version__ is required in the file.

The __about__.py file can be called in your application as normal module

import __about__

print(__about__.__version__)

With these two file, pypi-up will be able to increase the version and update the __about__.py effortlessly. You don’t need to touch the versioning file at all.

By the default the __about__.py is at the root of the directory.

But if you want to place it somewhere else, in your setup.cfg change the following to your path

# setup.cfg

[pypi-up] version-file = $path/__about__.py auto-increment = patch

The auto-increment accepts patch, minor, major or blank.

When pypi-up it will auto-increment the version instead of doing it manually all the time.

License: MIT

  1. Copyright 2016 Mardix
Release History

Release History

This version
History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.0

History Node

0.1.0

History Node

0.0.1

History Node

0.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pypi-up-0.3.2.tar.gz (6.8 kB) Copy SHA256 Checksum SHA256 Source Feb 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting