@@ -18,21 +18,23 @@ For example, this is what setupmeta says about itself (it's self-using)::
1818 author: (auto-adjust ) Zoran Simic
1919 \_: (setupmeta/__init__.py:6) Zoran Simic zoran@simicweb.com
2020 author_email: (auto-adjust ) zoran@simicweb.com
21- classifiers: (classifiers.txt ) 21 items: ["Development Status :: 5 - Production/Stable", "Intend...
21+ bugtrack_url: (auto-fill ) https://github.com/codrsquad/setupmeta/issues
22+ classifiers: (explicit ) 23 items: ["Development Status :: 5 - Production/Stable", "Intend...
2223 description: (setupmeta/__init__.py:2) Simplify your setup.py
23- download_url: (auto-fill ) https://github.com/codrsquad/setupmeta/archive/v2.1.1 .tar.gz
24+ download_url: (auto-fill ) https://github.com/codrsquad/setupmeta/archive/v3.9.0 .tar.gz
2425 \_: (setupmeta/__init__.py:5) archive/v{version}.tar.gz
25- entry_points: (explicit ) [distutils.commands] check = setupmeta.commands:CheckCommand clea...
26- keywords: (setup.py:4 ) ["simple", "DRY", "setup.py"]
26+ entry_points: (explicit ) [distutils.commands] check = setupmeta.commands:CheckCommand expla...
27+ include_package_data: (MANIFEST.in ) True
28+ install_requires: (explicit ) ["setuptools>=67"]
2729 license: (auto-fill ) MIT
2830 long_description: (README.rst ) Simplify your setup.py ====================== .. image:: https://...
2931 long_description_content_type: (README.rst ) text/x-rst
30- name: (setup.py:16 ) setupmeta
31- packages: (auto-fill ) ["setupmeta"]
32+ name: (explicit ) setupmeta
33+ packages: (explicit ) ["setupmeta"]
34+ python_requires: (explicit ) >=3.7
3235 setup_requires: (explicit ) ["setupmeta"]
33- title*: (setup.py:16 ) setupmeta
3436 url: (setupmeta/__init__.py:4) https://github.com/codrsquad/setupmeta
35- version: (git ) 2.1.1
37+ version: (git ) 3.9.0
3638 versioning: (explicit ) dev
3739 zip_safe: (explicit ) True
3840
@@ -48,9 +50,9 @@ In the above output:
4850 had a value that came from 2 different sources, final value showing at top,
4951 while all the other values seen showing below with the ``\_ `` indicator.
5052
51- * ``classifiers `` came from file `` classifiers.txt ``
53+ * ``classifiers `` came from explicit settings in `` setup.py ``
5254
53- * ``description `` came from ``setup .py `` line 2
55+ * ``description `` came from ``setupmeta/__init__ .py `` line 2
5456
5557* ``download_url `` was defined in ``setupmeta/__init__.py `` line 5, since it was mentioning
5658 ``{version} `` (and was a relative path), it got auto-expanded and filled in properly
@@ -59,25 +61,12 @@ In the above output:
5961
6062* ``long_description `` came from ``README.rst ``
6163
62- * ``name `` came from line 16 of setup.py, note that ``title `` also came from that line -
63- this simply means the constant ``__title__ `` was used as ``name ``
64+ * ``name `` came from an explicit setting in setup.py
6465
65- * Note that ``title* `` is shown with an asterisk, the asterisk means that setupmeta sees
66- the value and can use it, but doesn't transfer it to setuptools
66+ * ``packages `` came from explicit settings in setup.py
6767
68- * ``packages `` was auto-filled to ``["setupmeta"] ``
69-
70- * ``version `` was determined from git tag (due to ``versioning="post" `` in setup.py),
71- in this case ``1.1.2.post1+g816252c `` means:
72-
73- * latest tag was 1.1.2
74-
75- * there was 1 commit since that tag (``.post1 `` means 1 change since tag,
76- ``".post" `` denotes this would be a "post-release" version,
77- and should play nicely with PEP-440 _)
78-
79- * the ``+g816252c `` suffix means that the checkout wasn't clean when ``explain `` command
80- was ran, local checkout was dirty at short git commit id "816252c"
68+ * ``version `` was determined from git (due to ``versioning="dev" `` in setup.py),
69+ in this case ``3.9.0 `` means current commit is exactly on a version tag
8170
8271
8372If you'd like to see what your ``setup.py `` would look like without setupmeta
@@ -106,40 +95,4 @@ Typical usage::
10695 python setup.py version --b minor --commit # Effectively bump
10796
10897
109- cleanall
110- ========
111-
112- Handily clean build artifacts. Cleans the usual suspects:
113- ``.cache/ .tox/ build/ dist/ venv/ __pycache__/ *.egg-info *.py[cod] ``.
114-
115- Example::
116-
117- 🦎 3.9 ~/dev/github/setupmeta: ./setup.py cleanall
118- running cleanall
119- deleted .tox
120- deleted setupmeta.egg-info
121- deleted examples/direct/__pycache__
122- deleted examples/hierarchical/__pycache__
123- deleted examples/single/__pycache__
124- deleted setupmeta/__pycache__
125- deleted tests/__pycache__
126- deleted tests/scenarios/complex/tests/__pycache__
127- deleted tests/scenarios/readmes/__pycache__
128- deleted 14 .pyc files
129-
130-
131- entrypoints
132- ===========
133-
134- This will simply show you your ``entry_points/console_scripts ``.
135- Can be handy for pygradle _ users.
136-
137- Example::
138-
139- 🦎 3.9 ~/github/pickley: python setup.py entrypoints
140-
141- pickley = pickley.cli:protected_main
142-
14398.. _PEP-440 : https://www.python.org/dev/peps/pep-0440/
144-
145- .. _pygradle : https://github.com/linkedin/pygradle/
0 commit comments