-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
30 lines (23 loc) · 1.01 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
from glob import glob
#from datafiles import data_files
import mkdatafiles
data_files = mkdatafiles.get_data_files()
data_files.append(("/usr/share/applications/", ["Peru_Learns_English.desktop"]))
data_files.append(("/usr/share/applications/", ["Peru_Learns_English_TV.desktop"]))
setup(
name = "Peru_Learns_English",
version = "1.1",
author = "SomosAzucar",
author_email = "[email protected]",
url = "http://pe.sugarlabs.org/ir/Peru%20Learns%20English",
license = "GPL3",
scripts = ["peru_learns_english", "peru_learns_english_uninstall", "peru_learns_english_tv"],
data_files = data_files
#py_modules = ["enfoli"],
)
#import subprocess
#subprocess.check_output("chmod -R 755 /usr/local/share/Peru_Learns_English", shell=True)
#subprocess.check_output("chmod 755 /usr/share/applications/Peru_Learns_English.desktop", shell=True)