-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
40 lines (34 loc) · 1.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
#!/usr/bin/env python3
# ANoise https://costales.github.io/projects/anoise/
# Copyright (C) 2015-2020 Marcos Alvarez Costales https://costales.github.io
#
# ANoise 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.
#
# ANoise 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 ANoise; if not, see http://www.gnu.org/licenses
# for more information.
import os, sys, glob, DistUtilsExtra.auto
# Create data files
data = [ ('/usr/share/anoise', glob.glob('anoise/*')),
('/usr/share/icons/hicolor/scalable/apps', glob.glob('icons/hicolor/scalable/apps/*.svg')),
('/usr/share/icons/hicolor/48x48/apps', glob.glob('icons/hicolor/48x48/apps/*.png')),
('/usr/share/icons/hicolor/16x16/apps', glob.glob('icons/hicolor/16x16/apps/*.png'))]
# Setup stage
DistUtilsExtra.auto.setup(
name = "anoise",
version = "0.0.36",
description = "Ambient Noise",
author = "Marcos Alvarez Costales https://costales.github.io/",
author_email = "[email protected]",
url = "https://costales.github.io/projects/anoise/",
license = "GPL3",
data_files = data
)