Experimental new directory structure

This commit is contained in:
Manuel Ebert 2012-05-24 13:23:46 +02:00
parent a65e5eac50
commit dfa8278cb5
8 changed files with 623 additions and 542 deletions

View file

@ -1,3 +1,6 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
jrnl is a simple journal application for your command line. Journals are stored as human readable plain text files - you can put them into a Dropbox folder for instant syncinc and you can be assured that your journal will still be readable in 2050, when all your fancy iPad journal applications will long be forgotten.
@ -34,35 +37,44 @@ Links
"""
from setuptools import setup, find_packages
import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import os
import sys
if sys.argv[-1] == 'publish':
os.system("python setup.py bdist-egg upload")
os.system("python setup.py sdist upload")
sys.exit()
base_dir = os.path.dirname(os.path.abspath(__file__))
setup(
name = "jrnl",
version = "0.2.4",
version = "0.3.0",
description = "A command line journal application that stores your journal in a plain text file",
packages = find_packages(),
scripts = ['jrnl.py'],
packages = ['jrnl'],
install_requires = ["parsedatetime", "simplejson"],
extras_require = {
'encryption': ["pycrypto"],
'highlight': ["cling"]
},
package_data={'': ['*.md']},
entry_points={
'console_scripts': [
'jrnl = jrnl:cli',
],
},
long_description=__doc__,
classifiers=[
'Development Status :: 4 - Beta',
'Development Status :: 4 - Beta',
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: Freely Distributable',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Office/Business :: News/Diary',
'Topic :: Text Processing'
@ -73,4 +85,4 @@ setup(
license = "MIT License",
keywords = "journal todo todo.txt jrnl".split(),
url = "http://maebert.github.com/jrnl", # project home page, if any
)
)