allow zest.releaser to set the version in __init__.py. cleanup

pull/175/head
Johannes Raggam 2015-12-02 16:01:57 +01:00
rodzic 2a1f9dc467
commit ff1f2eec3d
3 zmienionych plików z 8 dodań i 3 usunięć

Wyświetl plik

@ -10,8 +10,11 @@ New:
Fixes:
- Documentation fixes
- Added __version__attribute to init.py
- Added __version__ attribute to init.py
[TomTry]
- Documentation fixes.
[TomTry]
3.9.1 (2015-09-08)

3
setup.cfg 100644
Wyświetl plik

@ -0,0 +1,3 @@
[zest.releaser]
# Allow setting the version by zest.releaser
python-file-with-version = src/icalendar/__init__.py

Wyświetl plik

@ -4,7 +4,6 @@ import sys
import re
import ast
from setuptools import setup
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('src/icalendar/__init__.py', 'rb') as f: