Skip to content

Commit 189f889

Browse files
committed
Update setup.py
1 parent 38c3589 commit 189f889

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.rst

+6-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ Install
7474
``pyproject.toml``
7575
~~~~~~~~~~~~~~~~~~
7676

77-
Just add ``setuptools-git-versioning`` to ``build-sytem`` part of your ``pyproject.toml``
77+
Just add ``setuptools-git-versioning`` to ``build-sytem`` part of your ``pyproject.toml``,
78+
and add config options to ``tool.setuptools-git-versioning`` part the same file
7879

7980
.. code:: toml
8081
@@ -88,6 +89,7 @@ Just add ``setuptools-git-versioning`` to ``build-sytem`` part of your ``pyproje
8889
And check the package version generated:
8990

9091
.. code:: bash
92+
9193
$ python -m setuptools_git_versioning
9294
0.0.1
9395
@@ -99,7 +101,8 @@ And check the package version generated:
99101
``setup.py``
100102
~~~~~~~~~~~~~~
101103

102-
Just add ``setuptools-git-versioning`` to ``setup_requires`` part of your ``setup.py``
104+
Just add ``setuptools-git-versioning`` to ``setup_requires`` part of your ``setup.py``,
105+
and pass configuration to ``setuptools_git_versioning`` option in the same file:
103106

104107
.. code:: python
105108
@@ -116,5 +119,6 @@ Just add ``setuptools-git-versioning`` to ``setup_requires`` part of your ``setu
116119
And check the package version generated:
117120

118121
.. code:: bash
122+
119123
$ python setup.py --version
120124
0.0.1

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def parse_requirements(file_content):
2626
long_description=long_description,
2727
long_description_content_type="text/x-rst",
2828
url="https://setuptools-git-versioning.readthedocs.io",
29-
keywords="setuptools git version-control",
29+
keywords=["setuptools", "git", "versioning", "pep-440"],
3030
packages=find_packages(exclude=["docs", "tests", "docs.*", "tests.*"]),
3131
classifiers=[
3232
"Framework :: Setuptools Plugin",

0 commit comments

Comments
 (0)