[Pkg-bitcoin-commits] [python-quamash] 75/269: Fix setup

Jonas Smedegaard dr at jones.dk
Fri Nov 24 11:26:17 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 982569284f742f3c0ff0fc8f9f6294376a468bdc
Author: Arve Knudsen <arve.knudsen at gmail.com>
Date:   Wed Jul 9 22:12:03 2014 +0200

    Fix setup
---
 setup.py | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/setup.py b/setup.py
index ed05f3e..95e83fa 100644
--- a/setup.py
+++ b/setup.py
@@ -1,16 +1,18 @@
 from distutils.core import setup
 import quamash
 import re
-author = re.match(r'(?P<name>[^<]* <(?P<email>.*)>', quamash.__author__)
 
+
+groups = re.findall(r'(.+?) <(.+?)>(?:,\s*)?', quamash.__author__)
+authors = [x[0].strip() for x in groups]
+emails = [x[1].strip() for x in groups]
 setup(
     name='Quamash',
     version=quamash.__version__,
-    author=author.group('name'),
-    author_email=author.group('email'),
+    author=', '.join(authors),
+    author_email=', '.join(emails),
     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