Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflavio <fdanesse@gmail.com>2012-04-28 23:16:54 (GMT)
committer flavio <fdanesse@gmail.com>2012-04-28 23:16:54 (GMT)
commitd302e09d7429d51a009fdc3b2d066bf838c2586c (patch)
treed06ee077d2d51a2590089089e48af598705824e2
parent955d443c0c43a06eb04f5ac870ae40e676765157 (diff)
Instalador para gnome
-rw-r--r--CeibalNotifica3
-rw-r--r--CeibalNotifica.desktop11
-rw-r--r--CeibalNotificaUninstall3
-rw-r--r--CeibalNotificaUninstall.py12
-rw-r--r--MANIFEST11
-rw-r--r--prueba.dbbin6144 -> 7168 bytes
-rw-r--r--setup.cfg4
-rwxr-xr-xsetup.py21
8 files changed, 65 insertions, 0 deletions
diff --git a/CeibalNotifica b/CeibalNotifica
new file mode 100644
index 0000000..5cbccbe
--- /dev/null
+++ b/CeibalNotifica
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec "/usr/bin/python" "/usr/local/share/CeibalNotifica/CeibalNotifica.py" "$@"
diff --git a/CeibalNotifica.desktop b/CeibalNotifica.desktop
new file mode 100644
index 0000000..645b7cd
--- /dev/null
+++ b/CeibalNotifica.desktop
@@ -0,0 +1,11 @@
+
+[Desktop Entry]
+Encoding=UTF-8
+Name=CeibalNotifica
+GenericName=CeibalNotifica
+Exec=/usr/local/bin/CeibalNotifica
+Terminal=false
+Type=Application
+Icon=/usr/local/share/CeibalNotifica/Iconos/CeibalNotifica.png
+Categories=GNOME;GTK;Utility
+StartupNotify=true
diff --git a/CeibalNotificaUninstall b/CeibalNotificaUninstall
new file mode 100644
index 0000000..d76e66d
--- /dev/null
+++ b/CeibalNotificaUninstall
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec "/usr/bin/python" "/usr/local/share/CeibalNotifica/CeibalNotificaUninstall.py" "$@"
diff --git a/CeibalNotificaUninstall.py b/CeibalNotificaUninstall.py
new file mode 100644
index 0000000..f193567
--- /dev/null
+++ b/CeibalNotificaUninstall.py
@@ -0,0 +1,12 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+import os, commands, platform
+
+print "Desinstalando de:", platform.platform()
+print commands.getoutput('rm -r /usr/local/share/CeibalNotifica')
+print commands.getoutput('rm /usr/share/applications/CeibalNotifica.desktop')
+print commands.getoutput('rm /usr/local/bin/CeibalNotifica')
+print commands.getoutput('rm /usr/local/bin/CeibalNotificaUninstall')
+print "CeibalNotifica se ha Desinstalado Correctamente del Sistema"
+
diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..c15dfe1
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,11 @@
+CeibalNotifica.py
+setup.cfg
+CeibalNotifica
+MANIFEST
+CeibalNotifica.desktop
+CeibalNotificaUninstall
+store.py
+setup.py
+CeibalNotificaUninstall.py
+Iconos/ceibal.png
+Iconos/ceibal-gris.png
diff --git a/prueba.db b/prueba.db
index 6797616..5668167 100644
--- a/prueba.db
+++ b/prueba.db
Binary files differ
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..d5a27ff
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,4 @@
+[install]
+install_lib=/usr/local/share/CeibalNotifica
+install_data=/usr/local/share/CeibalNotifica
+install_scripts=/usr/local/bin
diff --git a/setup.py b/setup.py
new file mode 100755
index 0000000..148d217
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,21 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+
+# setup.py por: Flavio Danesse fdanesse@activitycentral.com
+# https://sites.google.com/site/flaviodanesse/
+# https://sites.google.com/site/sugaractivities/
+# http://codigosdeejemplo.blogspot.com/
+
+import commands
+from distutils.core import setup
+
+setup(name="CeibalNotifica",
+ version = "1",
+ author = "Flavio Danesse",
+ author_email = "fdanesse@activitycentral.com",
+ license = "GPL3",
+ scripts = ["CeibalNotifica", "CeibalNotificaUninstall"],
+ py_modules = ['CeibalNotifica', 'store', 'CeibalNotificaUninstall'],
+ data_files = [('/usr/share/applications/', ['CeibalNotifica.desktop']),
+ ('', ['CeibalNotificaUninstall.py']),
+ ('Iconos', ['Iconos/ceibal.png', 'Iconos/ceibal-gris.png'])])