forked from adrienverge/PhotoCollage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
90 lines (81 loc) · 3.12 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"Copyright (C) 2013 Adrien Vergé"
from distutils.core import setup
from DistUtilsExtra.command import build_extra, build_i18n
from photocollage import APP_NAME, APP_VERSION
long_description = (
"PhotoCollage allows you to create photo collage posters. It assembles "
"the input photographs it is given to generate a big poster. Photos are "
"automatically arranged to fill the whole poster, then you can change the "
"final layout, dimensions, border or swap photos in the generated grid. "
"Eventually the final poster image can we saved in any size.")
setup(
name=APP_NAME,
version=APP_VERSION,
author="Adrien Vergé",
author_email="[email protected]",
url="https://github.com/adrienverge/PhotoCollage",
description="Graphical tool to make photo collage posters",
long_description=long_description,
license="GPLv2+",
platforms=["linux"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: X11 Applications :: GTK",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved"
" :: GNU General Public License v2 or later (GPLv2+)",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Multimedia :: Graphics",
],
packages=["photocollage"],
scripts=["bin/photocollage"],
data_files=[
("share/applications", ["data/photocollage.desktop"]),
("share/appdata", ["data/photocollage.appdata.xml"]),
("share/icons/hicolor/scalable/apps",
["data/icons/hicolor/scalable/apps/photocollage.svg"]),
("share/icons/hicolor/16x16/apps",
["data/icons/hicolor/16x16/apps/photocollage.png"]),
("share/icons/hicolor/22x22/apps",
["data/icons/hicolor/22x22/apps/photocollage.png"]),
("share/icons/hicolor/24x24/apps",
["data/icons/hicolor/24x24/apps/photocollage.png"]),
("share/icons/hicolor/32x32/apps",
["data/icons/hicolor/32x32/apps/photocollage.png"]),
("share/icons/hicolor/48x48/apps",
["data/icons/hicolor/48x48/apps/photocollage.png"]),
("share/icons/hicolor/64x64/apps",
["data/icons/hicolor/64x64/apps/photocollage.png"]),
("share/icons/hicolor/128x128/apps",
["data/icons/hicolor/128x128/apps/photocollage.png"]),
("share/icons/hicolor/256x256/apps",
["data/icons/hicolor/256x256/apps/photocollage.png"]),
],
cmdclass={
"build": build_extra.build_extra,
"build_i18n": build_i18n.build_i18n
},
requires=[
"cairo",
"copy",
"gettext",
"gi.repository",
"io",
"math",
"multiprocessing",
"os.path",
"PIL.Image",
"PIL.ImageDraw",
"random",
"threading",
],
)