Skip to content

Commit

Permalink
Allow wider range of towncrier again, exclude venv/ files from distri…
Browse files Browse the repository at this point in the history
…bution (#168)

* Allow wider range of towncrier again, exclude venv/ files from distribution
  • Loading branch information
kclowes authored Jun 2, 2022
1 parent 53400cb commit 0b2e5a5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ recursive-include eth_account/hdaccount/wordlist *txt

recursive-exclude * __pycache__
recursive-exclude * *.py[co]

prune venv*
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ notes: check-bump
# Let UPCOMING_VERSION be the version that is used for the current bump
$(eval UPCOMING_VERSION=$(shell bumpversion $(bump) --dry-run --list | grep new_version= | sed 's/new_version=//g'))
# Now generate the release notes to have them included in the release commit
towncrier --yes --version $(UPCOMING_VERSION)
towncrier build --yes --version $(UPCOMING_VERSION)
# Before we bump the version, make sure that the towncrier-generated docs will build
make build-docs
git commit -m "Compile release notes"
Expand Down
2 changes: 0 additions & 2 deletions docs/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ Release Notes
eth-account v0.5.7 (2022-01-27)
-------------------------------
Eth_Account 0.5.7 (2022-01-27)
------------------------------

Features
~~~~~~~~
Expand Down
1 change: 1 addition & 0 deletions newsfragments/168.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Unpin Towncrier version to allow >=21.9.0, and exclude venv files from being distributed via MANIFEST.in
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'doc': [
"Sphinx>=1.6.5,<2",
"sphinx_rtd_theme>=0.1.9,<1",
"towncrier>=19.2.0, <20",
"towncrier>=21.9.0",
],
'dev': [
"bumpversion>=0.5.3,<1",
Expand Down

0 comments on commit 0b2e5a5

Please sign in to comment.