switch changelog management to towncrier

This commit is contained in:
Ronny Pfannschmidt
2017-05-30 15:54:15 +02:00
parent 6117930642
commit b74c626026
13 changed files with 124 additions and 15 deletions
+2 -2
View File
@@ -11,10 +11,10 @@ from __future__ import print_function
import os
import subprocess
import sys
from check_manifest import main
if os.path.isdir('.git'):
sys.exit(subprocess.call('check-manifest', shell=True))
sys.exit(main())
else:
print('No .git directory found, skipping checking the manifest file')
sys.exit(0)
+11
View File
@@ -0,0 +1,11 @@
from __future__ import print_function
import subprocess
import glob
import sys
sys.exit(subprocess.call([
'rst-lint', '--encoding', 'utf-8',
'CHANGELOG.rst', 'HOWTORELEASE.rst', 'README.rst',
] + glob.glob('changelog/[0-9]*.*')))