This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
60 lines (53 loc) · 1.87 KB
/
setup.py
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
"""
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
"""
import sys
try:
from setuptools import setup
except ImportError:
sys.exit("""Error: Setuptools is required for installation.
-> http://pypi.python.org/pypi/setuptools""")
if sys.version_info < (2, 7) or (
sys.version_info[0] == 3 and sys.version_info < (3, 3)):
sys.exit("Requires Python 2.7 or Python 3.3 or higher.")
setup(
name = "dayone_export",
version = '1.0.0',
description = "Export Day One journal using Jinja2 templates",
author = "Nathan Grigg",
author_email = "[email protected]",
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.5.1'],
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"
],
)