This release is a pre-release and may not be stable for production use.
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.
Metadata
Release files for setuptricks 0.0.1a2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| setuptricks-0.0.1a2.tar.gz | 4.2 kB | Without provenance | Details for setuptricks-0.0.1a2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| setuptricks-0.0.1a2-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for setuptricks-0.0.1a2-py2.py3-none-any.whl |
Total release size: 9.2 kB
Release files / setuptricks-0.0.1a2.tar.gz
| Download URL | setuptricks-0.0.1a2.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3fa05253343096fc2ff88af100a66ce33817928583df618169d1e6182e8c7fcb
|
|
BLAKE2b-256 checksum How to use checksums |
da77de7804e63b6e0804781d14246d3d557f2592dd974334bbefa073638c177b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / setuptricks-0.0.1a2-py2.py3-none-any.whl
| Download URL | setuptricks-0.0.1a2-py2.py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e7a3fdd3ccd6cd68a572646e29af46187e8f40dda4d20f387b642812dee90389
|
|
BLAKE2b-256 checksum How to use checksums |
745bd68d7c10a6d3fab4f4fe12342edd2d29be26ec4e514e22ce7a033a4cd43a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for setuptricks 0.0.1a2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.