Skip to content

Commit d0d2973

Browse files
Merge pull request #499 from RonnyPfannschmidt/fix-142-document-supported-scms
Fix 142 document supported scms
2 parents aecedd5 + 98cef48 commit d0d2973

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ v4.2.0
1010
* enhance documentation
1111
* consider SOURCE_DATE_EPOCH for versioning
1212
* add a version_tuple to write_to templates
13+
* fix #142: clearly list supported scm
1314

1415

1516
v4.1.2

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ Additionally ``setuptools_scm`` provides setuptools with a list of files that ar
99
(i.e. it automatically adds all of the SCM-managed files to the sdist).
1010
Unwanted files must be excluded by discarding them via ``MANIFEST.in``.
1111

12+
``setuptools_scm`` support the following scm out of the box:
13+
14+
* git
15+
* mercurial
16+
17+
18+
1219
.. image:: https://github.com/pypa/setuptools_scm/workflows/python%20tests+artifacts+release/badge.svg
1320
:target: https://github.com/pypa/setuptools_scm/actions
1421

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author = Ronny Pfannschmidt
88
author_email = [email protected]
99
description = the blessed package to manage your versions by scm tags
1010
long_description= file:README.rst
11-
11+
long_description_content_type=text/x-rst
1212

1313
classifiers=
1414
Development Status :: 5 - Production/Stable

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=py{27,34,35,36,37,38,39}-test,flake8,check_readme,py{27,37}-selfcheck
2+
envlist=py{27,34,35,36,37,38,39}-test,flake8,check_readme,check-dist,py{27,37}-selfcheck,docs
33

44
[pytest]
55
testpaths=testing
@@ -46,21 +46,21 @@ commands =
4646
skip_install=True
4747
setenv = SETUPTOOLS_SCM_PRETEND_VERSION=2.0
4848
deps=
49-
readme
5049
check-manifest
50+
docutils
5151
commands=
52-
python setup.py check -r
5352
rst2html.py README.rst {envlogdir}/README.html --strict []
5453
check-manifest
5554

56-
[testenv:upload]
55+
[testenv:check_dist]
5756
deps=
5857
wheel
5958
twine
6059
commands=
61-
python setup.py clean --all rotate -k - -m .whl,.tar.gz,.zip
60+
python setup.py clean --all rotate -k 0 -m .whl,.tar.gz,.zip
6261
python setup.py -q egg_info
63-
python setup.py -q sdist --formats zip bdist_wheel register
62+
python setup.py -q sdist --formats zip bdist_wheel
63+
twine check dist/*
6464

6565

6666

0 commit comments

Comments
 (0)