forked from nvbn/everpad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_for_usc.py
96 lines (92 loc) · 3.83 KB
/
setup_for_usc.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
from setuptools import setup, find_packages
import sys
import os
version = '2.3'
def get_files():
packages = find_packages(exclude=['tests'])
files = []
for package in packages:
path = package.replace('.', '/')
files.append((
os.path.join('/opt/extras.ubuntu.com/everpad/', path),
filter(lambda name: not (name[-4:] == '.pyc' or os.path.isdir(name)),
map(lambda name: os.path.join(path, name),
os.listdir(path))),
))
return files
setup(name='everpad',
version=version,
description="Ubuntu integrated evernote client",
long_description="""\
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='ubuntu python evernote',
author='Vladimir Yakovlev',
author_email='[email protected]',
url='https://github.com/nvbn/everpad/',
license='X11',
packages=[],
include_package_data=True,
zip_safe=True,
install_requires=[],
entry_points={},
data_files=[
('/usr/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',
]),
('/usr/share/icons/hicolor/64x64/apps', [
'data/everpad-mono.png', 'data/everpad-lens.png',
'data/everpad-note.png', 'data/everpad-black.png',
]),
('/usr/share/icons/hicolor/128x128/apps', [
'data/everpad.png',
]),
('/usr/share/pixmaps', [
'data/everpad.png', 'data/everpad-mono.png',
'data/everpad-lens.png', 'data/everpad-note.png',
'data/everpad-black.png',
]),
('/usr/share/applications', ['data/everpad.desktop']),
('/usr/share/unity/lenses/everpad', ['data/everpad.lens']),
('/usr/share/dbus-1/services', [
'data/unity-lens-everpad.service',
'data/everpad-provider.service',
'data/everpad-app.service',
]),
('/usr/share/kde4/services/', [
'data/plasma-runner-everpad.desktop',
]),
('/usr/share/kde4/apps/plasma/runners/everpad/', [
'data/metadata.desktop',
]),
('/usr/share/kde4/apps/plasma/runners/everpad/contents/code/', [
'everpad/specific/kde/everpad_runner.py',
]),
('/usr/bin/', [
'bin/everpad', 'bin/everpad-lens',
'bin/everpad-provider',
])
('/opt/extras.ubuntu.com/everpad/i18n/', ['i18n/ru_RU.qm']),
('/opt/extras.ubuntu.com/everpad/i18n/ru/LC_MESSAGES', ['i18n/ru/LC_MESSAGES/everpad.mo']),
('/opt/extras.ubuntu.com/everpad/i18n/', ['i18n/ar_EG.qm']),
('/opt/extras.ubuntu.com/everpad/i18n/ar_EG/LC_MESSAGES', ['i18n/ar_EG/LC_MESSAGES/everpad.mo']),
('/opt/extras.ubuntu.com/everpad/i18n/', ['i18n/zh_CN.qm']),
('/opt/extras.ubuntu.com/everpad/i18n/zh_CN/LC_MESSAGES', ['i18n/zh_CN/LC_MESSAGES/everpad.mo']),
('/opt/extras.ubuntu.com/everpad/i18n/', ['i18n/zh_TW.qm']),
('/opt/extras.ubuntu.com/everpad/i18n/', ['i18n/zh_CN/LC_MESSAGES/everpad.mo']),
] + get_files(),
)