Skip to main content

setuptricks, useful utilities for setup.py.

Project description

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 details


Download files

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

Files for setuptricks, version 0.0.1a2
Filename, size File type Python version Upload date Hashes
Filename, size setuptricks-0.0.1a2-py2.py3-none-any.whl (5.0 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size setuptricks-0.0.1a2.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page