Fixes install routine

This commit is contained in:
Manuel Ebert 2013-04-17 12:02:26 +02:00
parent 9b0bee0637
commit 41706c3cb5
5 changed files with 11 additions and 10 deletions

View file

@ -1,7 +1,7 @@
Changelog
=========
### 1.0.2 (April 17, 2013)
### 1.0.3 (April 17, 2013)
* [Improved] Installs pycrypto by default
* [Improved] Removed clint in favour of colorama

View file

@ -7,7 +7,7 @@ jrnl is a simple journal application for your command line.
"""
__title__ = 'jrnl'
__version__ = '1.0.2'
__version__ = '1.0.3'
__author__ = 'Manuel Ebert'
__license__ = 'MIT License'
__copyright__ = 'Copyright 2013 Manuel Ebert'

View file

@ -77,7 +77,7 @@ def install_jrnl(config_path='~/.jrnl_config'):
print("PyCrypto not found. To encrypt your journal, install the PyCrypto package from http://www.pycrypto.org and run 'jrnl --encrypt'. For now, your journal will be stored in plain text.")
# Use highlighting:
if module_exists("colorama"):
if not module_exists("colorama"):
print("colorama not found. To turn on highlighting, install colorama and set highlight to true in your .jrnl_conf.")
default_config['highlight'] = False

View file

@ -1,2 +1,3 @@
clint >= 0.3.1
parsedatetime == 1.1.2
parsedatetime >= 1.1.2
colorama >= 0.2.5
pycrypto >= 2.6

View file

@ -64,10 +64,10 @@ setup(
description = "A command line journal application that stores your journal in a plain text file",
packages = ['jrnl'],
install_requires = [
"parsedatetime >= 1.1.2",
"colorama >= 0.2.5",
"pycrypto >= 2.6"
] + ["pyreadline >= 2.0"] if "win" in sys.platform else [],
"parsedatetime>=1.1.2",
"colorama>=0.2.5",
"pycrypto>=2.6"
] + ["pyreadline>=2.0"] if "win" in sys.platform else [],
long_description=__doc__,
entry_points={
'console_scripts': [
@ -75,7 +75,7 @@ setup(
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',