-
-
Notifications
You must be signed in to change notification settings - Fork 287
/
Copy pathsetup.py
49 lines (45 loc) · 2.58 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
#!/usr/bin/python3
import glob, os
from distutils.core import setup
share_path = '/usr/share'
inst_path = share_path+'/com.github.mirkobrombin.bottles/bottles'
icons_path = share_path+'/icons/hicolor/scalable/apps'
install_data = [(share_path+'/metainfo', ['data/com.github.mirkobrombin.bottles.appdata.xml']),
(share_path+'/applications', ['data/com.github.mirkobrombin.bottles.desktop']),
(icons_path,['data/com.github.mirkobrombin.bottles.svg']),
(icons_path,['data/notepad.svg']),
(icons_path,['data/wine.svg']),
(icons_path,['data/winetricks.svg']),
(icons_path,['data/wine-uninstaller.svg']),
(icons_path,['data/wine-winecfg.svg']),
(inst_path,['data/style.css']),
(inst_path,['bottles/constants.py']),
(inst_path,['bottles/create.py']),
(inst_path,['bottles/detail.py']),
(inst_path,['bottles/headerbar.py']),
(inst_path,['bottles/helper.py']),
(inst_path,['bottles/importer.py']),
(inst_path,['bottles/list.py']),
(inst_path,['bottles/main.py']),
(inst_path,['bottles/stack.py']),
(inst_path,['bottles/welcome.py']),
(inst_path,['bottles/window.py']),
(inst_path,['bottles/wine.py']),
(inst_path,['bottles/__init__.py']),
(inst_path+'/locale/it_IT/LC_MESSAGES',['bottles/locale/it_IT/LC_MESSAGES/bottles.mo']),
(inst_path+'/locale/it_IT/LC_MESSAGES',['bottles/locale/it_IT/LC_MESSAGES/bottles.po']),
(inst_path+'/locale/es_ES/LC_MESSAGES',['bottles/locale/es_ES/LC_MESSAGES/bottles.mo']),
(inst_path+'/locale/es_ES/LC_MESSAGES',['bottles/locale/es_ES/LC_MESSAGES/bottles.po']),
(inst_path+'/locale/fr_FR/LC_MESSAGES',['bottles/locale/fr_FR/LC_MESSAGES/bottles.mo']),
(inst_path+'/locale/fr_FR/LC_MESSAGES',['bottles/locale/fr_FR/LC_MESSAGES/bottles.po']),
(inst_path+'/locale/de_DE/LC_MESSAGES',['bottles/locale/de_DE/LC_MESSAGES/bottles.mo']),
(inst_path+'/locale/de_DE/LC_MESSAGES',['bottles/locale/de_DE/LC_MESSAGES/bottles.po']),]
setup( name='Bottles',
version='0.1.8',
author='Mirko Brombin',
description='Easily manage your Wine bottles',
url='https://github.com/mirkobrombin/bottles',
license='GNU GPL3',
scripts=['com.github.mirkobrombin.bottles'],
packages=['bottles'],
data_files=install_data)