1
import sys, time, Image
7
AUTHOR_EMAIL = 'spe.stani.be@gmail.com'
8
STANI = {'name':AUTHOR, 'email':AUTHOR_EMAIL}
9
SUPPORTED_LANGUAGES = ['Dutch','English']
14
'documentation' : [STANI],
15
'translation' : [STANI],
17
{'name':'Andrew Enyart', 'email':'arenyart@gmail.com',
18
'url':'http://andrewenyart.com',},
19
{'name':'Paolino', 'email':'warlord@email.it',
20
'url':'www.paolinoland.it'}
22
'libraries' : [{'name':'Python %s'%sys.version.split(' ')[0],
23
'url':'http://www.python.org',
24
'author':'Guido Van Rossum'},
25
{'name':'Python Image Library %s'%Image.VERSION,
26
'url':'http://www.pythonware.com/products/pil/',
27
'author':'Fredrik Lundh'}],
30
#year: automatically fetch copyright years
31
YEAR = time.localtime()[0]
33
CO_YEAR = '2007-%s'%YEAR
42
'author_email' : AUTHOR_EMAIL,
43
'maintainer' : AUTHOR,
44
'maintainer_email' : AUTHOR_EMAIL,
45
'url' : 'https://launchpad.net/phatch/',
46
'description' : 'Photo Batch Processor',
47
'long_description' : 'Phatch enables you to resize, rotate, mirror, '
48
'apply watermarks, shadows, rounded courners, '
49
'... to any photo collection easily with a '
50
'single mouse click. You can arrange your own '
51
'action lists and write plugins with PIL.',
53
'Development Status :: 4 - Beta',
54
'Environment :: Console',
55
'Environment :: MacOS X',
56
'Environment :: Win32 (MS Windows)',
57
'Environment :: X11 Applications',
58
'Environment :: X11 Applications :: Gnome',
59
'Environment :: X11 Applications :: GTK',
60
'Intended Audience :: Developers',
61
'Intended Audience :: End Users/Desktop',
62
'License :: OSI Approved :: GNU General Public License (GPL)',
63
'Operating System :: MacOS :: MacOS X',
64
'Operating System :: Microsoft :: Windows',
65
'Operating System :: OS Independent',
66
'Operating System :: POSIX',
67
'Operating System :: POSIX :: Linux',
68
'Programming Language :: Python',
69
'Topic :: Artistic Software',
70
'Topic :: Multimedia :: Graphics',
71
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
72
] + ['Natural Language :: '+language for language in SUPPORTED_LANGUAGES],
76
'download_url' : 'https://launchpad.net/phatch/',
77
'copyright' : '(c)%s www.stani.be'%CO_YEAR,
78
'description' : 'Photo Batch Processor',
82
INFO.update(SETUP_INFO)
85
"""Welcome to %(name)s %(version)s!
87
%(name)s = PHoto bATCH Processor
89
Batch your photo's with one mouse click. Typical examples are resizing,
90
rotating, creating buttons, applying shadows, watermarks, rounded corners, ...
92
If you are a python developper you can write easily, your own plugins with PIL
93
(Python Image Library). Please send your plugins to %(author_email)s
95
%(name)s was developped with the SPE editor (http://pythonide.stani.be) on
96
Ubuntu (GNU/Linux), but should run fine as well on Windows and Mac Os X.
98
%(name)s uses python, wxPython, PIL, Andrew Enyart's and Crystal Diamond Icons.
99
%(name)s is licensed under the GPL v3. %(name)s has no limitations, no
100
time-outs, no nags, no adware, no banner ads and no spyware. It is 100%% free.
109
WXPYTHON_CREDITS = {'name':'wxPython',
110
'url':'http://www.wxpython.org',
111
'author':'Robin Dunn'}
115
wxPython_credits = WXPYTHON_CREDITS
116
wxPython_credits['name'] += ' %s'%wx.VERSION_STRING
117
if not (wxPython_credits in CREDITS['libraries']):
118
CREDITS['libraries'].append(wxPython_credits)
122
readme = open('../../README','w')
128
authors = open('../../AUTHORS','w')
129
authors.write("Phatch is the result of work by (in no particular order):")
130
tasks = CREDITS.keys()
133
authors.write('\n\n\n%s:\n\n'%task.title())
134
authors.write('\n'.join([' - '.join(person.values())
135
for person in CREDITS[task]]))
142
if __name__ == '__main__':
146
#http://arenyart.googlepages.com/icons
147
#icons: http://www.paolinoland.it/index.php?option=com_content&task=view&id=14&Itemid=29