Setupmeta Builder
Try auto build setup.py attributes from git commit, CI config, etc.
Usage
Replace your setup.py file to:
from setupmeta_builder import setup_it
setup_it()
Done!
setupmeta_builder try resolve other values like install_requires for you.
| meta fields | resolve from |
|---|---|
packages |
find_packages() |
name |
packages or pyproject.toml |
version |
git.tag |
long_description |
file: README.rst or README.md |
author and author_email |
file: .pkgit.json or pyproject.toml |
url |
git.origin.url |
license |
file: LICENSE |
classifiers |
license and file .travis.yml |
install_requires |
files: requirements.txt or pipfile or pyproject.toml |
tests_require |
file: pipfile or pyproject.toml |
extras_require |
files: requirements.*.txt or pyproject.toml |
entry_points.console_scripts |
PACKAGE_ROOT\entry_points_console_scripts.py or pyproject.toml. |
Current project is the first example.
You can always print attrs using python setup.py print_attrs
Release files for setupmeta-builder 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| setupmeta_builder-0.2.1.tar.gz | 11.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| setupmeta_builder-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:29.3 kB
Release files / setupmeta_builder-0.2.1.tar.gz
| Download URL | setupmeta_builder-0.2.1.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f1623653c047d87c32b79260072484754fddfd6b336535b82d5bc95da08d1ac
|
|
BLAKE2b-256 checksum How to use checksums |
20e1e9b0ecda3da3d3f893b1fd9e56c5b0f91873d5b3da7cd4e1f029a9454c97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.1
|
Release files / setupmeta_builder-0.2.1-py3-none-any.whl
| Download URL | setupmeta_builder-0.2.1-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ac3224ec5a37c20f8b8d333c84d5d5476e37286d057404eaf493eaec3cb46bd
|
|
BLAKE2b-256 checksum How to use checksums |
39a2fabf0a256ab3c1b21a2323d374cb018089f837c783bc6a7f454a4abffae0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.1
|