Skip to content

Commit f4adf00

Browse files
committed
Convert to setuptools_scm and use declarative setup.cfg
Remove .pyc files committed beforehand by mistake.
1 parent 2520851 commit f4adf00

File tree

12 files changed

+93
-79
lines changed

12 files changed

+93
-79
lines changed

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.py[co]
2+
dist
3+
*.egg-info
4+
.coverage
5+
.eggs
6+
.tox
7+
bashdoctest/_version.py
8+
build
9+

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ servedocs: docs ## compile the docs watching for changes
7575
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
7676

7777
release: clean ## package and upload a release
78-
python setup.py sdist upload
79-
python setup.py bdist_wheel upload
78+
rm -f dist/*
79+
python -m build
80+
python -m twine upload dist/*
8081

8182
dist: clean ## builds source and wheel package
8283
python setup.py sdist

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
=======================================
1+
===========================================
22
Bashdoctest Command Line Application Tester
3-
=======================================
3+
===========================================
44

55
Bashdoctest is a fork of the original "clatter" repo, which is a doctest-style testing tool for command-line applications. It wraps other testing suites and allows them to be tested in docstrings.
66

-457 Bytes
Binary file not shown.
-461 Bytes
Binary file not shown.
-3.09 KB
Binary file not shown.
-3.1 KB
Binary file not shown.
-2.87 KB
Binary file not shown.
-2.86 KB
Binary file not shown.

pyproject.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[build-system]
2+
# If 'requires' is changed, update the same in setup.py.
3+
requires = [
4+
"setuptools>=60.5.0",
5+
"wheel>=0.27",
6+
"setuptools-scm>=6.4.2",
7+
]
8+
build-backend = "setuptools.build_meta"
9+
10+
[tool.setuptools_scm]
11+
write_to = "bashdoctest/_version.py"

0 commit comments

Comments
 (0)