forked from sharkwouter/minigalaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (54 loc) · 2.95 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
from setuptools import setup, find_packages
from glob import glob
import subprocess
from minigalaxy.version import VERSION
# Generate the translations
subprocess.run(['bash', 'scripts/compile-translations.sh'])
setup(
name="minigalaxy",
version=VERSION,
packages=find_packages(exclude=['tests']),
scripts=['bin/minigalaxy'],
data_files=[
('share/applications', ['data/io.github.sharkwouter.Minigalaxy.desktop']),
('share/icons/hicolor/128x128/apps', ['data/icons/128x128/io.github.sharkwouter.Minigalaxy.png']),
('share/icons/hicolor/192x192/apps', ['data/icons/192x192/io.github.sharkwouter.Minigalaxy.png']),
('share/minigalaxy/ui', glob('data/ui/*.ui')),
('share/minigalaxy/images', glob('data/images/*')),
('share/minigalaxy/', ['data/style.css']),
('share/metainfo', ['data/io.github.sharkwouter.Minigalaxy.metainfo.xml']),
# Add translations
('share/minigalaxy/translations/de/LC_MESSAGES/', ['data/mo/de/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/es/LC_MESSAGES/', ['data/mo/es/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/fr/LC_MESSAGES/', ['data/mo/fr/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/nb_NO/LC_MESSAGES/', ['data/mo/nb_NO/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/nl/LC_MESSAGES/', ['data/mo/nl/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/nn_NO/LC_MESSAGES/', ['data/mo/nn_NO/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/pl/LC_MESSAGES/', ['data/mo/pl/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/pt_BR/LC_MESSAGES/', ['data/mo/pt_BR/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/ru_RU/LC_MESSAGES/', ['data/mo/ru_RU/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/tr/LC_MESSAGES/', ['data/mo/tr/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/zh_CN/LC_MESSAGES/', ['data/mo/zh_CN/LC_MESSAGES/minigalaxy.mo']),
('share/minigalaxy/translations/zh_TW/LC_MESSAGES/', ['data/mo/zh_TW/LC_MESSAGES/minigalaxy.mo']),
],
# Project uses reStructuredText, so ensure that the docutils get
# installed or upgraded on the target machine
install_requires=[
'PyGObject>=3.30',
'requests',
],
# metadata to display on PyPI
author="Wouter Wijsman",
author_email="[email protected]",
description="A simple GOG Linux client",
keywords="GOG gog client gaming gtk Gtk",
url="https://github.com/sharkwouter/minigalaxy", # project home page, if any
project_urls={
"Bug Tracker": "https://github.com/sharkwouter/minigalaxy/issues",
"Documentation": "https://github.com/sharkwouter/minigalaxy/blob/master/README.md",
"Source Code": "https://github.com/sharkwouter/minigalaxy",
},
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
)