Skip to content

Instantly share code, notes, and snippets.

@asenchi
Created May 18, 2011 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asenchi/979591 to your computer and use it in GitHub Desktop.
Save asenchi/979591 to your computer and use it in GitHub Desktop.
_________________________________ [tox sdist] __________________________________
[TOX] ***creating sdist package[TOX] /Users/asenchi/Projects/bifrost$ /Users/asenchi/Developer/bin/python setup.py sdist --formats=zip --dist-dir .tox/dist >.tox/log/0.log
[TOX] ***copying new sdistfile to '/Users/asenchi/.tox/distshare/bifrost-0.1a1.zip'______________________________ [tox testenv:py27] ______________________________
[TOX] ***recreating virtualenv py27 (configchange/incomplete install detected)
[TOX] /Users/asenchi/Projects/bifrost/.tox$ virtualenv --distribute --no-site-packages -p /Users/asenchi/Developer/Cellar/python/2.7.1/bin/python2.7 py27 >py27/log/0.log[TOX] ***installing dependencies: tnetstring==0.2.0, pyzmq==2.1.7
[TOX] /Users/asenchi/Projects/bifrost/.tox/py27/log$ ../bin/pip install --download-cache=/Users/asenchi/Projects/bifrost/.tox/_download tnetstring==0.2.0 pyzmq==2.1.7 >1.log[TOX] /Users/asenchi/Projects/bifrost/.tox/py27/log$ ../bin/pip install --download-cache=/Users/asenchi/Projects/bifrost/.tox/_download ../../dist/bifrost-0.1a1.zip >2.log
[TOX] /Users/asenchi/Projects/bifrost/tests$ ../.tox/py27/bin/python setup.py test
________________________________ [tox summary] _________________________________[TOX] ERROR: py27: commands failed
include README.rst
include LICENSE
include MANIFEST.in
recursive-include tests *.py
import os
import sys
VERSION = __import__("bifrost").__version__
from setuptools import setup, find_packages, Command
install_requires = []
try:
import importlib
except ImportError:
install_requires.append("importlib")
install_requires.extend([
'tnetstring==0.2.0',
'pyzmq==2.1.7',
])
is_cpy = sys.version_info
is_pypy = hasattr(sys, "pypy_version_info")
# At some point we may support pypy using redis rather than 0mq.
if is_pypy:
raise Exception("bifrost doesn't currently work with PyPy.")
setup(
name="bifrost",
version=VERSION,
description="Gossip protocol layer.",
license="MIT",
url="https://github.com/asenchi/bifrost",
author="Curt Micol",
author_email="asenchi@asenchi.com",
zip_safe=False,
packages=find_packages(),
namespace_packages=['bifrost'],
install_requires=install_requires,
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
],
)
[tox]
envlist = py27
[pytest]
addopts = -v --maxfail=2
norecursedirs = .git _build tmp*
[testenv]
distribute = True
sitepackages = False
changedir = tests
deps = tnetstring==0.2.0
pyzmq==2.1.7
[testenv:py27]
basepython = python2.7
commands = python setup.py test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment