We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62ad886 commit 7737a58Copy full SHA for 7737a58
1 file changed
source/guides/single-sourcing-package-version.rst
@@ -42,13 +42,14 @@ number of your project:
42
.. code-block:: ini
43
44
[metadata]
45
- version = attr:package.__version__
+ version = attr: package.__version__
46
47
Earlier versions of setuptools implemented the ``attr:`` directive by
48
importing the module, but setuptools 46.4.0 added rudimentary AST
49
analysis so that ``attr:`` can function without having to import any of
50
the package's dependencies.
51
52
+
53
#. Use an external build tool that either manages updating both locations, or
54
offers an API that both locations can use.
55
0 commit comments