qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgiu...@apache.org
Subject qpid-proton git commit: PROTON-756: fix setup.py
Date Mon, 16 Feb 2015 22:45:51 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/master 3dbf34edf -> aad7607fb


PROTON-756: fix setup.py

Include the cproton.py generated module.  Add libqpid-proton as a
library of the extension.  Fix the library name.  Add proper
meta-information for Pypi index.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/aad7607f
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/aad7607f
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/aad7607f

Branch: refs/heads/master
Commit: aad7607fb7b24a55c9bc7ee00bae9991be993820
Parents: 3dbf34e
Author: Ken Giusti <kgiusti@apache.org>
Authored: Mon Feb 16 17:12:32 2015 -0500
Committer: Ken Giusti <kgiusti@apache.org>
Committed: Mon Feb 16 17:20:37 2015 -0500

----------------------------------------------------------------------
 proton-c/bindings/python/setup.py | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/aad7607f/proton-c/bindings/python/setup.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/setup.py b/proton-c/bindings/python/setup.py
index 9765342..cdfa104 100755
--- a/proton-c/bindings/python/setup.py
+++ b/proton-c/bindings/python/setup.py
@@ -20,11 +20,17 @@
 
 from distutils.core import setup, Extension
 
-setup(name='Proton',
+setup(name='python-qpid-proton',
       version='0.9',
       description='An AMQP based messaging library.',
       author='Apache Qpid',
       author_email='proton@qpid.apache.org',
       url='http://qpid.apache.org/proton/',
       packages=['proton'],
-      ext_modules=[Extension('cproton', ['cproton.i'])])
+      py_modules=['cproton'],
+      license="Apache Software License",
+      classifiers=["License :: OSI Approved :: Apache Software License",
+                   "Intended Audience :: Developers",
+                   "Programming Language :: Python"],
+      ext_modules=[Extension('_cproton', ['cproton.i'],
+                             libraries=['qpid-proton'])])


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message