Commits

3k  committed db10cfe

versioning now conforms to PEP376

  • Participants
  • Parent commits 72ff858

Comments (0)

Files changed (1)

 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 __author__ = "Károly Kiripolszky <karcsi@ekezet.com>"
-__version__ = (0, 1, 0)
+__version__ = "0.1.0"
 
 import sys
 from sys import exit
 import os
 import argparse
 import codecs
-import stat
 from uuid import uuid4
 import re
 import configparser
 rcfile:   {rcfile}
 cwd:      {cwd}
 py:       {this_file}""".format(
-        version=".".join(map(str, __version__)),
+        version=__version__,
         me=__author__,
         path=args.notesfile,
         encoding=args.encoding,
         help="set encoding (default: {})".format(rcdefs['encoding']))
     parser.add_argument(
         "-v", "--version", action="version", help="show version and exit",
-        version=".".join(map(str, __version__)))
+        version=__version__)
     parser.set_defaults(
         rcfile=rcfile,
         template=rcdefs['template'],