summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth M Morton <seth.m.morton@gmail.com>2018-05-13 21:16:57 -0700
committerSeth M Morton <seth.m.morton@gmail.com>2018-05-13 21:21:21 -0700
commitdd3fc1d04fca4ca8fd50f854b41095c0c66494ce (patch)
tree299a9a10f0832f5efa7e12ed3308d765957e2ade
parent0302a813bf508a7b26220ee3dc7491183becb0c9 (diff)
downloadnatsort-dd3fc1d04fca4ca8fd50f854b41095c0c66494ce.tar.gz
Add bumpversion infrastructure.
-rw-r--r--.bumpversion.cfg16
-rw-r--r--MANIFEST.in1
-rw-r--r--README.rst21
-rw-r--r--docs/source/changelog.rst7
4 files changed, 25 insertions, 20 deletions
diff --git a/.bumpversion.cfg b/.bumpversion.cfg
new file mode 100644
index 0000000..8a53513
--- /dev/null
+++ b/.bumpversion.cfg
@@ -0,0 +1,16 @@
+[bumpversion]
+current_version = 5.4.0
+commit = True
+tag = True
+tag_name = {new_version}
+
+[bumpversion:file:setup.cfg]
+
+[bumpversion:file:src/natsort/_version.py]
+
+[bumpversion:file:docs/source/conf.py]
+
+[bumpversion:file:docs/source/changelog.rst]
+search = XX-XX-XXXX v. X.X.X
+replace = {now:%m-%d-%Y} v. {new_version}
+
diff --git a/MANIFEST.in b/MANIFEST.in
index f8a611d..c3f224d 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -8,6 +8,7 @@ include tox.ini
include .travis.yml
include .coveragerc
include .gitignore
+include .bumpversion.cfg
graft docs
graft src
graft test_natsort
diff --git a/README.rst b/README.rst
index 45721f7..76eaa2b 100644
--- a/README.rst
+++ b/README.rst
@@ -317,23 +317,4 @@ Seth M. Morton
History
-------
-These are the last three entries of the changelog. See the package documentation
-for the complete `changelog <http://natsort.readthedocs.io/en/master/changelog.html>`_.
-
-04-20-2018 v. 5.3.0
-+++++++++++++++++++
-
- - Fix bug in assessing ``fastnumbers`` version at import-time.
- - Add ability to consider unicode-decimal numbers as numbers.
-
-02-14-2018 v. 5.2.0
-+++++++++++++++++++
-
- - Add ``ns.NUMAFTER`` to cause numbers to be placed after non-numbers.
- - Add ``natcmp`` function (Python 2 only).
-
-11-11-2017 v. 5.1.1
-+++++++++++++++++++
-
- - Added additional unicode number support for Python 3.7.
- - Added information on how to install and test.
+Please visit the `changelog <http://natsort.readthedocs.io/en/master/changelog.html>`_.
diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst
index 8d33625..35691e7 100644
--- a/docs/source/changelog.rst
+++ b/docs/source/changelog.rst
@@ -3,6 +3,13 @@
Changelog
---------
+XX-XX-XXXX v. X.X.X
++++++++++++++++++++
+
+ - Move to defining dependencies with Pipfile.
+ - Development layout is now src/natsort/ instead of natsort/.
+ - Add bumpversion infrastructure.
+
04-20-2018 v. 5.3.0
+++++++++++++++++++