public
Last active

  • Download Gist
MANIFEST.in
1 2 3 4
include README.rst
include LICENSE
include MANIFEST.in
recursive-include tests *.py
gistfile1.txt
1 2 3 4 5 6 7 8
_________________________________ [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
setup.py
Python
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
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.ini
INI
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
[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

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.