-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
44 lines (38 loc) · 1.34 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
from setuptools import setup
import io
# Take from Jeff Knupp's excellent article:
# http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
setup(name='dayonetools',
version='1.2.0',
description='Tools to import multiple services into Day One Journal',
long_description=read('README.md'),
package_data={'': ['README.md']},
license='MIT',
author='Luke Lee',
author_email='[email protected]',
url='https://github.com/durden/dayonetools',
packages=['dayonetools', 'dayonetools.services'],
install_requires=['python-dateutil>=2.2', 'pytz==2014.4'],
platforms='any',
classifiers= [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: System :: Archiving'],
entry_points={
"console_scripts": [
"dayonetools = dayonetools.main:main",
]
},
)