diff options
author | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2019-08-28 20:07:14 +0200 |
---|---|---|
committer | Raphaël Barrois <raphael.barrois@polytechnique.org> | 2019-08-28 20:07:14 +0200 |
commit | c0a3d5383f2f828ff4241fa6046c056c6e75aaed (patch) | |
tree | c448744046bbe6f8d3f5fb79208a77fb5466ae43 | |
parent | b0615239164121f8bab3e664bcf70305aa74d782 (diff) | |
download | semantic-version-c0a3d5383f2f828ff4241fa6046c056c6e75aaed.tar.gz |
Enable zest.releaser.
Streamline the release process.
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | requirements_dev.txt | 2 | ||||
-rw-r--r-- | setup.cfg | 15 | ||||
-rwxr-xr-x | setup.py | 2 |
4 files changed, 23 insertions, 1 deletions
@@ -31,7 +31,10 @@ update: pip freeze -.PHONY: clean update +release: + fullrelease + +.PHONY: clean update release # Tests and quality # ================= diff --git a/requirements_dev.txt b/requirements_dev.txt index 3dc8e5f..741f337 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -10,3 +10,5 @@ tox Sphinx sphinx_rtd_theme + +zest.releaser[recommended] diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..e6ff787 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,15 @@ +[bdist_wheel] +universal = 1 + +[metadata] +license_file = LICENSE + +[zest.releaser] +; semver-style versions +version-levels = 3 + +; Version flag location (we use __version__) +python-file-with-version = semantic_version/__init__.py + +[distutils] +index-servers = pypi @@ -49,9 +49,11 @@ setup( url='https://github.com/rbarrois/python-semanticversion', download_url='http://pypi.python.org/pypi/semantic_version/', packages=['semantic_version'], + python_requires=">=3.4", setup_requires=[ 'setuptools>=0.8', ], + zip_safe=False, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', |