forked from nathangrigg/dayone_export
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
64 lines (56 loc) · 1.91 KB
/
setup.py
File metadata and controls
64 lines (56 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
"""
Command line script to transform your journal to html or some other format.
Basic usage::
dayone_export [--output FILE] [opts] JOURNAL
For more information::
dayone_export --help
Full documentation is available at http://day-one-export.readthedocs.org.
"""
import sys
try:
from setuptools import setup
except ImportError:
sys.exit("""Error: Setuptools is required for installation.
-> http://pypi.python.org/pypi/setuptools
or http://pypi.python.org/pypi/distribute""")
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(
name = "dayone_export",
version = '0.6.2',
description = "Export Day One journal using Jinja2 templates",
author = "Nathan Grigg",
author_email = "nathan@nathangrigg.net",
packages = ["dayone_export"],
package_data={'dayone_export': ['templates/*']},
include_package_data = True,
url = 'https://github.com/nathangrigg/dayone_export/',
entry_points = {
'console_scripts': ['dayone_export = dayone_export.cli:run']
},
license = "BSD",
zip_safe = False,
long_description = __doc__,
install_requires = ['Jinja2>=2.6',
'pytz',
'python-dateutil>=2.1',
'Markdown>=2.2.0'],
classifiers = [
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Topic :: Office/Business :: News/Diary",
"Topic :: Sociology :: History",
"Topic :: Text Processing :: Markup :: HTML",
"Topic :: Utilities",
"Topic :: Text Processing :: General"
],
**extra
)