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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file setuptricks-0.0.1a2.tar.gz.

File metadata

File hashes

Hashes for setuptricks-0.0.1a2.tar.gz
Algorithm Hash digest
SHA256 3fa05253343096fc2ff88af100a66ce33817928583df618169d1e6182e8c7fcb
MD5 230b35066f0ab23c4751b9dfe891bad7
BLAKE2b-256 da77de7804e63b6e0804781d14246d3d557f2592dd974334bbefa073638c177b

See more details on using hashes here.

File details

Details for the file setuptricks-0.0.1a2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for setuptricks-0.0.1a2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e7a3fdd3ccd6cd68a572646e29af46187e8f40dda4d20f387b642812dee90389
MD5 f375445d61e4f8ac6a258f2fbbb683c7
BLAKE2b-256 745bd68d7c10a6d3fab4f4fe12342edd2d29be26ec4e514e22ce7a033a4cd43a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page