changeset 2:3cdd7f281e28 v0.2

Transformando tudo em um egg
author Walter Cruz <walter.php@gmail.com>
date Fri, 29 Feb 2008 14:54:33 -0300
parents 85ebb726f031
children c047cd63d175
files nose_notify/build/lib/nose_notify/__init__.py nose_notify/build/lib/nose_notify/nose_notify.py nose_notify/build/lib/nose_notify/run_nose.py nose_notify/dist/nose_notify-0.2dev-py2.5.egg nose_notify/nose_notify.egg-info/PKG-INFO nose_notify/nose_notify.egg-info/SOURCES.txt nose_notify/nose_notify.egg-info/dependency_links.txt nose_notify/nose_notify.egg-info/entry_points.txt nose_notify/nose_notify.egg-info/paster_plugins.txt nose_notify/nose_notify.egg-info/top_level.txt nose_notify/nose_notify.egg-info/zip-safe nose_notify/nose_notify/__init__.py nose_notify/nose_notify/nose_notify.py nose_notify/nose_notify/run_nose.py nose_notify/setup.cfg nose_notify/setup.py notify_test.py run_nose.py
diffstat 18 files changed, 150 insertions(+), 44 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/build/lib/nose_notify/__init__.py	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,1 @@
+#
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/build/lib/nose_notify/nose_notify.py	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,39 @@
+import sys
+from nose.plugins.base import Plugin
+
+from StringIO import StringIO
+
+import pygtk
+pygtk.require('2.0')
+import pynotify
+from new import instancemethod
+
+def writeln(self,*args):
+    for i in args:
+        self.write(i)
+    self.write("\n")
+
+class NoseNotifyPlugin(Plugin):
+
+    enabled = True
+    score = 1000
+    name = "NotifyPlugin"
+    
+    def __init__(self):
+        self.stdout = []
+        self._buf = StringIO()
+        self._buf.writeln = instancemethod(writeln,self._buf,StringIO)
+    
+    def configure(self, options, conf):
+        pass
+
+    def options(self, parser, env):
+        pass
+
+    def finalize(self, result):
+        result.stream = self._buf
+        result.printSummary(0,2)
+        pynotify.init("Basics")
+        n = pynotify.Notification("Tests", self._buf.getvalue())
+        n.show()
+        return None
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/build/lib/nose_notify/run_nose.py	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,5 @@
+import unittest
+from nose.plugins.plugintest import run
+from notify_test import NotifyPlugin
+
+run(suite=unittest.TestSuite(tests=[]),plugins=[NotifyPlugin()])
\ No newline at end of file
Binary file nose_notify/dist/nose_notify-0.2dev-py2.5.egg has changed
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/nose_notify.egg-info/PKG-INFO	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,10 @@
+Metadata-Version: 1.0
+Name: nose-notify
+Version: 0.2dev
+Summary: Nose Notify
+Home-page: UNKNOWN
+Author: Walter Rodrigo de Sá Cruz
+Author-email: walter.php@gmail.com
+License: GPL
+Description: Nose Notify
+Platform: UNKNOWN
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/nose_notify.egg-info/SOURCES.txt	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,12 @@
+setup.cfg
+setup.py
+nose_notify/__init__.py
+nose_notify/nose_notify.py
+nose_notify/run_nose.py
+nose_notify.egg-info/PKG-INFO
+nose_notify.egg-info/SOURCES.txt
+nose_notify.egg-info/dependency_links.txt
+nose_notify.egg-info/entry_points.txt
+nose_notify.egg-info/paster_plugins.txt
+nose_notify.egg-info/top_level.txt
+nose_notify.egg-info/zip-safe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/nose_notify.egg-info/dependency_links.txt	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,1 @@
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/nose_notify.egg-info/entry_points.txt	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,3 @@
+[nose.plugins.0.10]
+NoseNotify = nose_notify.nose_notify:NoseNotifyPlugin
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/nose_notify.egg-info/paster_plugins.txt	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,1 @@
+PasteScript
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/nose_notify.egg-info/top_level.txt	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,1 @@
+nose_notify
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/nose_notify.egg-info/zip-safe	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,1 @@
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/nose_notify/__init__.py	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,1 @@
+#
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/nose_notify/nose_notify.py	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,39 @@
+import sys
+from nose.plugins.base import Plugin
+
+from StringIO import StringIO
+
+import pygtk
+pygtk.require('2.0')
+import pynotify
+from new import instancemethod
+
+def writeln(self,*args):
+    for i in args:
+        self.write(i)
+    self.write("\n")
+
+class NoseNotifyPlugin(Plugin):
+
+    enabled = True
+    score = 1000
+    name = "NotifyPlugin"
+    
+    def __init__(self):
+        self.stdout = []
+        self._buf = StringIO()
+        self._buf.writeln = instancemethod(writeln,self._buf,StringIO)
+    
+    def configure(self, options, conf):
+        pass
+
+    def options(self, parser, env):
+        pass
+
+    def finalize(self, result):
+        result.stream = self._buf
+        result.printSummary(0,2)
+        pynotify.init("Basics")
+        n = pynotify.Notification("Tests", self._buf.getvalue())
+        n.show()
+        return None
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/nose_notify/run_nose.py	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,5 @@
+import unittest
+from nose.plugins.plugintest import run
+from notify_test import NotifyPlugin
+
+run(suite=unittest.TestSuite(tests=[]),plugins=[NotifyPlugin()])
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/setup.cfg	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,3 @@
+[egg_info]
+tag_build = dev
+tag_svn_revision = true
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nose_notify/setup.py	Fri Feb 29 14:54:33 2008 -0300
@@ -0,0 +1,28 @@
+from setuptools import setup, find_packages
+import sys, os
+
+version = '0.2'
+
+setup(name='nose_notify',
+      version=version,
+      description="Nose Notify",
+      long_description="""\
+Nose Notify""",
+      classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
+      keywords='',
+      author='Walter Rodrigo de S\xe1 Cruz',
+      author_email='walter.php@gmail.com',
+      url='',
+      license='GPL',
+      packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
+      include_package_data=True,
+      zip_safe=True,
+      install_requires=[
+          # -*- Extra requirements: -*-
+      ],
+        entry_points = {
+        'nose.plugins.0.10': [
+            'NoseNotify= nose_notify.nose_notify:NoseNotifyPlugin'
+            ]
+        }
+      )
--- a/notify_test.py	Fri Feb 29 14:33:14 2008 -0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-import sys
-from nose.plugins.base import Plugin
-
-from StringIO import StringIO
-
-import pygtk
-pygtk.require('2.0')
-import pynotify
-from new import instancemethod
-
-def writeln(self,*args):
-    for i in args:
-        self.write(i)
-    self.write("\n")
-
-class NotifyPlugin(Plugin):
-
-    enabled = True
-    score = 1000
-    name = "NotifyPlugin"
-    
-    def __init__(self):
-        self.stdout = []
-        self._buf = StringIO()
-        self._buf.writeln = instancemethod(writeln,self._buf,StringIO)
-    
-    def configure(self, options, conf):
-        pass
-
-    def options(self, parser, env):
-        pass
-
-    def finalize(self, result):
-        result.stream = self._buf
-        result.printSummary(0,2)
-        pynotify.init("Basics")
-        n = pynotify.Notification("Tests", self._buf.getvalue())
-        n.show()
-        return None
\ No newline at end of file
--- a/run_nose.py	Fri Feb 29 14:33:14 2008 -0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-import unittest
-from nose.plugins.plugintest import run
-from notify_test import NotifyPlugin
-
-run(suite=unittest.TestSuite(tests=[]),plugins=[NotifyPlugin()])
\ No newline at end of file