[Pkg-bitcoin-commits] [python-quamash] 06/269: move to package
Jonas Smedegaard
dr at jones.dk
Fri Nov 24 11:26:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository python-quamash.
commit e8058adc5743ee8aacea385cc5b96467dd5daeac
Author: Mark Harviston <mark.harviston at gmail.com>
Date: Tue Jun 11 20:09:21 2013 -0700
move to package
---
README | 7 +++----
quamash.py => quamash/__init__.py | 7 ++++---
guievents.py => quamash/guievents.py | 0
setup.py | 16 ++++++++++++++++
4 files changed, 23 insertions(+), 7 deletions(-)
diff --git a/README b/README
index 080300f..20d7beb 100644
--- a/README
+++ b/README
@@ -1,8 +1,8 @@
=======
Quamash
=======
-Tulip API for the Qt Event-Loop
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Implementation of PEP 3156 Event-Loop with Qt
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:author: Mark Harviston <mark.harviston at gmail.com>
Usage
@@ -49,5 +49,4 @@ Tulip related projects are being named after other flowers, Quamash is one of th
License
=======
-BSD 3 Clause License
-
+BSD 2 Clause License
diff --git a/quamash.py b/quamash/__init__.py
similarity index 96%
rename from quamash.py
rename to quamash/__init__.py
index e0b203a..38dc333 100644
--- a/quamash.py
+++ b/quamash/__init__.py
@@ -3,10 +3,11 @@
# © 2013 Mark Harviston <mark.harviston at gmail.com>
# BSD License
"""
-Tulip hooked up to the Qt Event Loop several utilities
+PEP
"""
-__author__ = 'Mark Harviston <mark.harviston at gmail.com>
+__author__ = 'Mark Harviston <mark.harviston at gmail.com>'
__version__ = '0.1'
+__license__ = 'BSD 2 Clause License'
import tulip as async
@@ -19,7 +20,7 @@ import feedparser
from queue import Queue
from concurrent.futures import Future
-from guievents import GuiEventLoop
+from .guievents import GuiEventLoop
try:
from PySide import QtGui, QtCore
diff --git a/guievents.py b/quamash/guievents.py
similarity index 100%
rename from guievents.py
rename to quamash/guievents.py
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..ed05f3e
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,16 @@
+from distutils.core import setup
+import quamash
+import re
+author = re.match(r'(?P<name>[^<]* <(?P<email>.*)>', quamash.__author__)
+
+setup(
+ name='Quamash',
+ version=quamash.__version__,
+ author=author.group('name'),
+ author_email=author.group('email'),
+ packages=['quamash', ],
+ license=quamash.__license__,
+ depends=['tulip', 'PyQt', ],
+ description=quamash.__doc__,
+ long_description=open('README').read(),
+)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git
More information about the Pkg-bitcoin-commits
mailing list