autosetup-py
[Because every time I start preparing my projects for PyPI “deployment” I get upset.]
setup.py (and relative files such as MANIFEST.in and setup.cfg) is not simple for the first (second, third) time.
This project aims to provide a simple bootstrap for setup.py and other files on common structure (namedly MANIFEST.in, README.rst, LICENSE, requirements.txt and setup.cfg). Again, it’s a simple bootsrap. Take a look at some examples of generated output here
Installation:
pip install autosetup-py
Usage:
As a python method (with prompts)
from autosetup.main import main
main()
# Your project data will be prompted
As a python method (with parameters)
from autosetup.main import main
main(
module_name='potato',
name='potato',
version='0.0.1',
author_name='Filipe Waitman',
author_email='filwaitman@gmail.com',
cvs_url='http://github.com/filwaitman/potato',
tests_module='tests',
requirements='requirements.txt',
readme='README.rst',
license='MIT',
)
As a CLI (with prompts)
autosetup-py
# Your project data will be prompted
As a CLI (with parameters)
autosetup-py --module=potato --author_name="Filipe Waitman" --author_email=filwaitman@gmail.com --cvs_url="http://github.com/filwaitman/potato" --license=GPL3 --use-defaults
NOTE: See autosetup-py --help for more options and documentation
Contribute
Did you think in some interesting feature, or have you found a bug? Please let me know!
Of course you can also download the project and send me some pull requests.
You can send your suggestions by opening issues.
You can contact me directly as well. Take a look at my contact information at http://filwaitman.github.io/ (email is preferred rather than mobile phone).
Metadata
Release files for autosetup-py 0.0.3
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 | |
|---|---|---|---|---|
| autosetup-py-0.0.3.tar.gz | 25.3 kB | Without provenance | Details |
Release files / autosetup-py-0.0.3.tar.gz
| Download URL | autosetup-py-0.0.3.tar.gz |
|---|---|
| Size | 25.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac5aa194c7b6537aeb998c6e59e9f7132e29f5a44c2b96244acf1e50f3ad9054
|
|
BLAKE2b-256 checksum How to use checksums |
92a424904e7f2387bf0b613dd16143c6d2769d7c73258479e9728e008e858f16
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for autosetup-py 0.0.3
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.