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.

Source Distribution

setuptricks-0.0.1a2.tar.gz (4.2 kB view hashes)

Uploaded source

Built Distribution

setuptricks-0.0.1a2-py2.py3-none-any.whl (5.0 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page