forked from costales/folder-color
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
43 lines (37 loc) · 1.94 KB
/
setup.py
File metadata and controls
43 lines (37 loc) · 1.94 KB
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
#!/usr/bin/env python3
# Folder Color 0.0.89 - https://github.com/costales/folder-color
# Copyright (C) 2012-2020 Marcos Alvarez Costales - https://costales.github.io/
#
# folder-color is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Folder Color is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Folder Color; if not, see http://www.gnu.org/licenses
# for more information.
import os, sys, glob, DistUtilsExtra.auto
# Create data files
data = [ ('/usr/share/nautilus-python/extensions', ['nautilus-extension/folder-color.py']),
('/usr/share/icons/hicolor/16x16/places', glob.glob('icons/hicolor/16x16/places/*.svg')),
('/usr/share/icons/hicolor/22x22/places', glob.glob('icons/hicolor/22x22/places/*.svg')),
('/usr/share/icons/hicolor/24x24/places', glob.glob('icons/hicolor/24x24/places/*.svg')),
('/usr/share/icons/hicolor/32x32/places', glob.glob('icons/hicolor/32x32/places/*.svg')),
('/usr/share/icons/hicolor/64x64/places', glob.glob('icons/hicolor/64x64/places/*.svg')),
('/usr/share/icons/hicolor/48x48/places', glob.glob('icons/hicolor/48x48/places/*.svg')) ]
# Setup stage
DistUtilsExtra.auto.setup(
name = "folder-color",
version = "0.0.88",
description = "Change your folder color with just a click",
author = "Marcos Alvarez Costales",
author_email = "marcos.costales@gmail.com",
url = "https://github.com/costales/folder-color",
license = "GPL3",
data_files = data
)