setuptricks, useful utilities for setup.py.
Project description
setuptricks
Convenience functions for your setup.py.
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
Release history Release notifications | RSS feed
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)
Built Distribution
File details
Details for the file setuptricks-0.0.1a2.tar.gz
.
File metadata
- Download URL: setuptricks-0.0.1a2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fa05253343096fc2ff88af100a66ce33817928583df618169d1e6182e8c7fcb |
|
MD5 | 230b35066f0ab23c4751b9dfe891bad7 |
|
BLAKE2b-256 | da77de7804e63b6e0804781d14246d3d557f2592dd974334bbefa073638c177b |
File details
Details for the file setuptricks-0.0.1a2-py2.py3-none-any.whl
.
File metadata
- Download URL: setuptricks-0.0.1a2-py2.py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7a3fdd3ccd6cd68a572646e29af46187e8f40dda4d20f387b642812dee90389 |
|
MD5 | f375445d61e4f8ac6a258f2fbbb683c7 |
|
BLAKE2b-256 | 745bd68d7c10a6d3fab4f4fe12342edd2d29be26ec4e514e22ce7a033a4cd43a |