55 lines
2.3 KiB
Python
Raw Normal View History

2013-12-31 20:38:03 -05:00
#!/usr/bin/env python
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
2014-07-14 11:18:52 -04:00
from setuptools import setup
2013-12-31 20:38:03 -05:00
_VERSION = "1.3.0" # NOTE: update __init__.py too!
try:
# NOTE(flaper87): Hold your breath, don't kill any kittens
# (or do it, that's fine) but certainly don't chase the author
# of this patch. The reason we're doing this is because the proposed
# patch that will (hopefully) land in master[0] targets the 0.10 release
# of the library but the current stable version is 0.10. As soon as
# the patch lands and 0.10 is out, this will be removed and we'll
# all be back to our happy and ideal world where kgiusti has a blue Tesla.
# [0] https://issues.apache.org/jira/browse/PROTON-885
_qpid_proton = "-egit+https://github.com/FlaPer87/qpid-proton.git@0.9.x#egg=python-qpid-proton&subdirectory=proton-c/bindings/python"
import subprocess
subprocess.Popen(['pip', 'install', _qpid_proton]).wait()
except Exception:
pass
2014-10-06 13:30:19 -04:00
setup(name="pyngus",
2014-10-06 13:30:19 -04:00
version=_VERSION,
2013-12-31 20:38:03 -05:00
author="kgiusti",
author_email="kgiusti@apache.org",
packages=["pyngus"],
2015-05-14 10:54:48 +02:00
package_dir={"pyngus": "pyngus"},
description="Callback API implemented over Proton",
2014-04-30 11:44:35 -04:00
url="https://github.com/kgiusti/pyngus",
2014-06-24 09:42:16 -04:00
license="Apache Software License",
install_requires=['python-qpid-proton>=0.9,<0.10'],
2014-06-24 09:42:16 -04:00
classifiers=["License :: OSI Approved :: Apache Software License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python"])