Commit 27bddfa5 authored by Luke Macken's avatar Luke Macken

Merge branch 'master' into develop

parents 7f85598e 3beb3c96
...@@ -3,3 +3,6 @@ include README.rst ...@@ -3,3 +3,6 @@ include README.rst
graft pyrasite graft pyrasite
graft tests graft tests
graft docs
global-exclude *.pyc *.pyo *.swp *.swo
%global betaver beta6 %global betaver beta8
Name: pyrasite Name: pyrasite
Version: 2.0 Version: 2.0
......
__version__ = '2.0beta6' __version__ = '2.0beta8'
__all__ = ('inject', 'inspect', 'PyrasiteIPC', __all__ = ('inject', 'inspect', 'PyrasiteIPC',
'ReverseConnection', 'ReversePythonConnection') 'ReverseConnection', 'ReversePythonConnection')
__license__ = """\ __license__ = """\
......
...@@ -99,9 +99,8 @@ class PyrasiteIPC(object): ...@@ -99,9 +99,8 @@ class PyrasiteIPC(object):
"""Write out a reverse python connection payload with a custom port""" """Write out a reverse python connection payload with a custom port"""
(fd, filename) = tempfile.mkstemp() (fd, filename) = tempfile.mkstemp()
tmp = os.fdopen(fd, 'w') tmp = os.fdopen(fd, 'w')
path = dirname(abspath(join(pyrasite.__file__, '..'))) path = dirname(abspath(pyrasite.__file__))
payload = open(join(path, 'pyrasite', 'reverse.py')) payload = open(join(path, 'reverse.py'))
tmp.write('import sys; sys.path.insert(0, "%s")\n' % path)
for line in payload.readlines(): for line in payload.readlines():
if line.startswith('#'): if line.startswith('#'):
......
from setuptools import setup, find_packages from setuptools import setup, find_packages
version = '2.0beta6' version = '2.0beta8'
f = open('README.rst') f = open('README.rst')
long_description = f.read().split('split here')[1] long_description = f.read().split('split here')[1]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment