forked from openpaperwork/paperwork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·45 lines (42 loc) · 1.52 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
#!/usr/bin/env python
from distutils.core import setup
setup(name="Paperwork",
version="0.1",
description="Grep for dead trees",
author="Jerome Flesch",
author_email="[email protected]",
packages=[
'paperwork',
'paperwork.frontend',
'paperwork.backend',
'paperwork.backend.common',
'paperwork.backend.pdf',
'paperwork.backend.img',
],
package_dir={
'paperwork': 'src/paperwork',
'paperwork.frontend': 'src/paperwork/frontend',
'paperwork.backend': 'src/paperwork/backend',
'paperwork.backend.common': 'src/paperwork/backend/common',
'paperwork.backend.pdf': 'src/paperwork/backend/pdf',
'paperwork.backend.img': 'src/paperwork/backend/img',
},
data_files=[
('share/paperwork', [
'src/paperwork/frontend/aboutdialog.glade',
'src/paperwork/frontend/import.glade',
'src/paperwork/frontend/import_select.glade',
'src/paperwork/frontend/mainwindow.glade',
'src/paperwork/frontend/multiscan.glade',
'src/paperwork/frontend/settingswindow.glade',
'src/paperwork/frontend/labeledit.glade',
]),
('share/locale/fr/LC_MESSAGES',
['locale/fr/LC_MESSAGES/paperwork.mo']),
('share/applications',
['data/paperwork.desktop']),
('share/icons',
['data/paperwork.svg']),
],
scripts=['scripts/paperwork'],
)