forked from nvbn/everpad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
115 lines (112 loc) · 4.09 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
from setuptools import setup, find_packages
import os
version = '2.5'
requirements = [
"BeautifulSoup",
"html2text",
"httplib2",
"keyring",
"py-oauth2 ",
"pysqlite ",
"regex",
"sqlalchemy",
]
if not 'TRAVIS_CI' in os.environ:
requirements.append('PySide')
setup(
name='everpad',
version=version,
description="Ubuntu integrated evernote client",
long_description=open('README.rst').read(),
classifiers=[
'Programming Language :: Python',
],
keywords='ubuntu python evernote',
author='Vladimir Yakovlev',
author_email='nvbn.rm@gmail.com',
url='https://github.com/nvbn/everpad/',
license='X11',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=True,
install_requires=requirements,
entry_points={
'gui_scripts': [
'everpad=everpad.pad.indicator:main'
], 'console_scripts': [
'everpad-lens=everpad.specific.unity.lens:main',
'everpad-provider=everpad.provider.daemon:main',
]
},
data_files=[
('share/icons/hicolor/24x24/actions', [
'data/editor-icons/everpad-text-bold.png',
'data/editor-icons/everpad-list-unordered.png',
'data/editor-icons/everpad-text-strikethrough.png',
'data/editor-icons/everpad-text-italic.png',
'data/editor-icons/everpad-list-ordered.png',
'data/editor-icons/everpad-justify-center.png',
'data/editor-icons/everpad-justify-left.png',
'data/editor-icons/everpad-justify-fill.png',
'data/editor-icons/everpad-text-underline.png',
'data/editor-icons/everpad-justify-right.png',
'data/editor-icons/everpad-checkbox.png',
'data/editor-icons/everpad-link.png',
'data/editor-icons/everpad-insert-table.png',
'data/editor-icons/everpad-insert-image.png',
'data/editor-icons/everpad-pin.png',
]),
('share/icons/hicolor/48x48/actions', [
'data/everpad-file.png',
]),
('share/icons/hicolor/64x64/apps', [
'data/everpad-mono.png', 'data/everpad-lens.png',
'data/everpad-note.png', 'data/everpad-black.png',
]),
('share/icons/hicolor/128x128/apps', [
'data/everpad.png',
]),
('share/pixmaps', [
'data/everpad.png', 'data/everpad-mono.png',
'data/everpad-lens.png', 'data/everpad-note.png',
'data/everpad-black.png',
]),
('share/applications', ['data/everpad.desktop']),
('share/everpad/i18n/', [
'i18n/ru_RU.qm',
'i18n/ar_EG.qm',
'i18n/zh_CN.qm',
'i18n/zh_TW.qm',
'i18n/ja.qm',
'i18n/es.qm',
'i18n/de_DE.qm',
'i18n/de_AT.qm',
'i18n/de_CH.qm',
]),
('share/everpad/', [
'everpad/pad/editor/editor.html',
]),
('share/locale/ru/LC_MESSAGES', ['i18n/ru/LC_MESSAGES/everpad.mo']),
('share/locale/ar/LC_MESSAGES', ['i18n/ar/LC_MESSAGES/everpad.mo']),
('share/locale/zh_CN/LC_MESSAGES', ['i18n/zh_CN/LC_MESSAGES/everpad.mo']),
('share/locale/zh_TW/LC_MESSAGES', ['i18n/zh_TW/LC_MESSAGES/everpad.mo']),
('share/locale/ja/LC_MESSAGES', ['i18n/ja/LC_MESSAGES/everpad.mo']),
('share/locale/es/LC_MESSAGES', ['i18n/es/LC_MESSAGES/everpad.mo']),
('share/locale/de/LC_MESSAGES', ['i18n/de/LC_MESSAGES/everpad.mo']),
('share/unity/lenses/everpad', ['data/everpad.lens']),
('share/dbus-1/services', [
'data/unity-lens-everpad.service',
'data/everpad-provider.service',
'data/everpad-app.service',
]),
('share/kde4/services/', [
'data/plasma-runner-everpad.desktop',
]),
('share/kde4/apps/plasma/runners/everpad/', [
'data/metadata.desktop',
]),
('share/kde4/apps/plasma/runners/everpad/contents/code/', [
'everpad/specific/kde/everpad_runner.py',
]),
]
)