hayd/setuptricks


License: MIT

Language: Python


setuptricks

Convenience functions for your setup.py.

Current PyPi Version MIT licensed Travis CI Status Coverage Status PyPi Monthly Downloads

Installation

From pip:

$ pip install setuptricks

Usage

Before calling setuptools' setup:

from setuptools import setup
import setuptricks

s = setuptricks.Package("name_of_package")

s.before_setup()
setup(name=s.package,
      version=s.version,
      description=s.description,
      ...
)

See for example this packages setup.py.

The before_setup() allows you to run:

$ python setup.py publish
$ python setup.py tag

As discussed in pydanny's blog and as used in django-rest-framework.

Project Statistics

Sourcerank 3
Repository Size 117 KB
Stars 0
Forks 0
Watchers 1
Open issues 1
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Andy Hayden

Packages Referencing this Repo

setuptricks
setuptricks, useful utilities for setup.py.
Latest release 0.0.1a2 - Updated

Something wrong with this page? Make a suggestion

Last synced: 2016-05-27 18:31:21 UTC

Login to resync this repository