Adds version string and more

This commit is contained in:
Manuel Ebert 2012-05-21 11:49:16 +02:00
parent f8a8cdf24b
commit 4e39ab2821

12
jrnl.py
View file

@ -1,5 +1,12 @@
#!/usr/bin/env python #!/usr/bin/env python
# encoding: utf-8 # encoding: utf-8
"""
jrnl
license: MIT, see LICENSE for more details.
"""
import os import os
import tempfile import tempfile
import parsedatetime.parsedatetime as pdt import parsedatetime.parsedatetime as pdt
@ -23,6 +30,11 @@ try:
except ImportError: except ImportError:
CLINT = False CLINT = False
__title__ = 'jrnl'
__version__ = '0.2.4'
__author__ = 'Manuel Ebert, Stephan Gabler'
__license__ = 'MIT'
default_config = { default_config = {
'journal': os.path.expanduser("~/journal.txt"), 'journal': os.path.expanduser("~/journal.txt"),
'editor': "", 'editor': "",