forked from mbusb/multibootusb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (53 loc) · 4.71 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
#!/usr/bin/python2.7
# -*- coding: utf-8 -*-
from distutils.core import setup
import os
import sys
mbusb_version = open(os.path.join("tools", "version.txt"), 'r').read().strip()
setup(
name='multibootusb',
version=mbusb_version,
packages=['scripts', 'scripts.pyudev', 'scripts.gui'],
scripts=['multibootusb'],
platforms=['Linux'],
url='http://multibootusb.org/',
license='General Public License (GPL)',
author='Sundar',
author_email='[email protected]',
description='Create multi boot live Linux on a USB disk...',
long_description='multibootusb is an advanced cross-platform application for installing/uninstalling Linux operating systems on to a single USB flash drives.',
data_files=[("/usr/share/applications", ["data/multibootusb.desktop"]),
('/usr/share/pixmaps', ["data/multibootusb.png"]),
(os.path.join(sys.prefix, "multibootusb", "tools"), ["tools/mbr.bin"]),
(os.path.join(sys.prefix, "multibootusb", "tools"), ["tools/version.txt"]),
(os.path.join(sys.prefix, "multibootusb", "tools"), ["tools/multibootusb.png"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "dd"), ["tools/dd/dd.exe"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "dd"), ["tools/dd/diskio.dll"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "multibootusb"), ["tools/multibootusb/chain.c32"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "multibootusb"), ["tools/multibootusb/bg.png"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "multibootusb"), ["tools/multibootusb/extlinux.cfg"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "multibootusb"), ["tools/multibootusb/grub.exe"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "multibootusb"), ["tools/multibootusb/memdisk"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "multibootusb"), ["tools/multibootusb/menu.c32"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "multibootusb"), ["tools/multibootusb/menu.lst"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "multibootusb"), ["tools/multibootusb/syslinux.cfg"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "multibootusb"), ["tools/multibootusb/vesamenu.c32"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/1024.ext4.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/2048.ext4.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/2048.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/3072.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/512.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/1024.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/256.ext4.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/3072.ext4.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/4096.ext4.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/768.ext4.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/256.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/4096.ext4.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/512.ext4.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "persistence_data"), ["tools/persistence_data/768.tar.bz2"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "syslinux"), ["tools/syslinux/syslinux_modules.zip"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "syslinux"), ["tools/syslinux/syslinux_linux.zip"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "syslinux"), ["tools/syslinux/syslinux_linux_64.zip"]),
(os.path.join(sys.prefix, "multibootusb", "tools", "syslinux"), ["tools/syslinux/syslinux_windows.zip"])]
)