-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·55 lines (50 loc) · 2.32 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
#!/usr/bin/python
import os
import glob
from distutils.core import setup
from DistUtilsExtra.command import *
import lib.constants as constants
import lib.extra.build_help
from lib.extra.makedoc import MakeDocument
for file in glob.glob('share/*.*'):
os.chmod(file, 0644)
makedoc = MakeDocument('./help')
makedoc.run()
setup(name = 'gphotoframe',
version = constants.VERSION,
description = 'GPhotoFrame',
long_description = 'A Photo Frame Gadget for the GNOME Desktop.',
author = 'Yoshizumi Endo',
author_email = '[email protected]',
url = 'http://code.google.com/p/gphotoframe/',
license = 'GPL3',
package_dir = {'gphotoframe' : 'lib'},
packages = ['gphotoframe', 'gphotoframe.utils', 'gphotoframe.dbus',
'gphotoframe.image', 'gphotoframe.image.actor',
'gphotoframe.preferences', 'gphotoframe.history',
'gphotoframe.plugins', 'gphotoframe.plugins.base',
'gphotoframe.plugins.facebook',
'gphotoframe.plugins.tumblr',
'gphotoframe.plugins.flickr', 'gphotoframe.plugins.fspot'],
scripts = ['gphotoframe'],
data_files = [('share/gphotoframe', ['share/gphotoframe.ui',
'share/preferences.ui',
'share/menu.ui',
# 'share/shotwell-16.svg',
'share/shotwell-16.png',
'share/rss-16.png']),
('share/gphotoframe/history',
[ 'share/history/history.css',
'share/history/history.html',
'share/history/history_table.html',
'share/history/jquery.lazyload.js',
'share/history/jquery.gphotoframe.js']),
('share/gphotoframe/extra',
['share/extra/flickrfavlist.py']),
('lib/gnome-screensaver/gnome-screensaver',
['gphotoframe-screensaver'])],
cmdclass = {"build" : build_extra.build_extra,
"build_i18n" : build_i18n.build_i18n,
"build_help" : build_help.build_help,
"build_icons" : build_icons.build_icons}
)