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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
setupmeta_builder-0.2.1.tar.gz
(11.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file setupmeta_builder-0.2.1.tar.gz.
File metadata
- Download URL: setupmeta_builder-0.2.1.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f1623653c047d87c32b79260072484754fddfd6b336535b82d5bc95da08d1ac
|
|
| MD5 |
74999ba60a6d541049274fc1f5d11628
|
|
| BLAKE2b-256 |
20e1e9b0ecda3da3d3f893b1fd9e56c5b0f91873d5b3da7cd4e1f029a9454c97
|
File details
Details for the file setupmeta_builder-0.2.1-py3-none-any.whl.
File metadata
- Download URL: setupmeta_builder-0.2.1-py3-none-any.whl
- Upload date:
- Size: 18.0 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ac3224ec5a37c20f8b8d333c84d5d5476e37286d057404eaf493eaec3cb46bd
|
|
| MD5 |
f47df956e957d4553d3715d89c1f54f4
|
|
| BLAKE2b-256 |
39a2fabf0a256ab3c1b21a2323d374cb018089f837c783bc6a7f454a4abffae0
|