forked from sharkwouter/minigalaxy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (53 loc) · 2.98 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
from setuptools import setup, find_packages
from glob import glob
import subprocess
from goodoldgalaxy.version import VERSION
# Generate the translations
subprocess.run(['bash', 'scripts/compile-translations.sh'])
setup(
name="goodoldgalaxy",
version=VERSION,
packages=find_packages(exclude=['tests']),
scripts=['bin/goodoldgalaxy'],
data_files=[
('share/applications', ['data/io.github.mdgomes.goodoldgalaxy.desktop']),
('share/icons/hicolor/128x128/apps', ['data/icons/128x128/io.github.mdgomes.goodoldgalaxy.png']),
('share/icons/hicolor/192x192/apps', ['data/icons/192x192/io.github.mdgomes.goodoldgalaxy.png']),
('share/goodoldgalaxy/ui', glob('data/ui/*.ui')),
('share/goodoldgalaxy/images', glob('data/images/*')),
('share/metainfo', ['data/io.github.mdgomes.goodoldgalaxy.metainfo.xml']),
# Add translations
('share/goodoldgalaxy/translations/de/LC_MESSAGES/', ['data/mo/de/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/es/LC_MESSAGES/', ['data/mo/es/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/fr/LC_MESSAGES/', ['data/mo/fr/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/nb_NO/LC_MESSAGES/', ['data/mo/nb_NO/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/nl/LC_MESSAGES/', ['data/mo/nl/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/nn_NO/LC_MESSAGES/', ['data/mo/nn_NO/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/pl/LC_MESSAGES/', ['data/mo/pl/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/pt_BR/LC_MESSAGES/', ['data/mo/pt_BR/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/ru_RU/LC_MESSAGES/', ['data/mo/ru_RU/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/tr/LC_MESSAGES/', ['data/mo/tr/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/zh_CN/LC_MESSAGES/', ['data/mo/zh_CN/LC_MESSAGES/goodoldgalaxy.mo']),
('share/goodoldgalaxy/translations/zh_TW/LC_MESSAGES/', ['data/mo/zh_TW/LC_MESSAGES/goodoldgalaxy.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="Miguel Gomes",
author_email="[email protected]",
description="A simple GOG Linux client",
keywords="GOG gog client gaming gtk Gtk",
url="https://github.com/mdgomes/goodoldgalaxy", # project home page, if any
project_urls={
"Bug Tracker": "https://github.com/mdgomes/goodoldgalaxy/issues",
"Documentation": "https://github.com/mdgomes/goodoldgalaxy/blob/master/README.md",
"Source Code": "https://github.com/mdgomes/goodoldgalaxy",
},
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
]
)