Skip to content

Commit 3f92aa5

Browse files
tomschrscls19fr
and
scls19fr
authored
Create semver version 2.9.1 (python-semver#219)
* Raise version number in `__version__` * Update CHANGELOG * Mention TestPyPI in `release-procedure.md` * MANIFEST.in: * Exclude `.travis.yml` * Exclude `.github` directory (pretty useless in an archive/wheel) * Exclude `docs/_build` directory * Exclude temporary Python files like `__pycache__`, `*.py[cod]` * Include all `*.txt` and `*.rst` files Co-authored-by: Sebastien Celles <[email protected]> Co-authored-by: scls19fr <[email protected]>
1 parent b5ccad6 commit 3f92aa5

File tree

5 files changed

+32
-8
lines changed

5 files changed

+32
-8
lines changed

Diff for: CHANGELOG.rst

+8-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ Change Log
66
All notable changes to this code base will be documented in this file,
77
in every released version.
88

9-
Version 2.9.1 (WIP)
10-
===================
11-
:Released: 20xy-xy-xy
12-
:Maintainer: ...
9+
10+
Version 2.9.1
11+
=============
12+
:Released: 2020-02-16
13+
:Maintainer: Tom Schraitle
1314

1415
Features
1516
--------
@@ -34,6 +35,9 @@ Bug Fixes
3435
Removals
3536
--------
3637

38+
not available
39+
40+
3741
Version 2.9.0
3842
=============
3943
:Released: 2019-10-30

Diff for: MANIFEST.in

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
include README.rst
2-
include LICENSE.txt
1+
include *.rst
2+
include *.txt
33
include test_*.py
4+
5+
exclude .travis.yml
6+
prune docs/_build
7+
recursive-exclude .github *
8+
9+
global-exclude *.py[cod] __pycache__ *.so *.dylib

Diff for: release-procedure.md

+13
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@ Release procedure
2121

2222
* Ensure that long description (ie [README.rst](https://github.com/python-semver/python-semver/blob/master/README.rst)) can be correctly rendered by Pypi using `restview --long-description`
2323

24+
* Upload it to TestPyPI first:
25+
26+
```bash
27+
git clean -xfd
28+
python setup.py register sdist bdist_wheel --universal
29+
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
30+
```
31+
32+
If you have a `~/.pypirc` with a `testpyi` section, the upload can be
33+
simplified:
34+
35+
twine upload --repository testpyi dist/*
36+
2437
* Upload to PyPI
2538

2639
```bash

Diff for: semver.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
import sys
99

1010

11-
__version__ = "2.9.0"
11+
__version__ = "2.9.1"
1212
__author__ = "Kostiantyn Rybnikov"
1313
__author_email__ = "[email protected]"
14-
__maintainer__ = "Sebastien Celles"
14+
__maintainer__ = ["Sebastien Celles", "Tom Schraitle"]
1515
__maintainer_email__ = "[email protected]"
1616

1717
_REGEX = re.compile(

Diff for: setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def read_file(filename):
8080
include_package_data=True,
8181
license="BSD",
8282
classifiers=[
83+
# See https://pypi.org/pypi?%3Aaction=list_classifiers
8384
"Environment :: Web Environment",
8485
"Intended Audience :: Developers",
8586
"License :: OSI Approved :: BSD License",

0 commit comments

Comments
 (0)