Commit 30b5e760 authored by Rafael Monnerat's avatar Rafael Monnerat

Partially reverted r34171.

The bin/python2.4 must be able to run another buildout.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34199 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3d56d478
import sys, os
def invokepython():
os.environ['PYTHONPATH'] = ':'.join(sys.path)
os.execl(sys.executable, *sys.argv)
from setuptools import setup, find_packages
name = "invokepython"
version = '0.1'
setup(
name = name,
version = version,
author = "Lukasz Nowak",
author_email = "luke@nexedi.com",
description = "ZC Buildout recipe to invoke full python interpreter",
license = "ZPL 2.1",
keywords = "python interpreter",
packages = find_packages(),
scripts = [name+".py",],
include_package_data = True,
classifiers=[
"License :: OSI Approved :: Zope Public License",
"Framework :: Buildout",
"Operating System :: POSIX :: Linux",
],
zip_safe=False,
entry_points = """
[console_scripts]
invokepython = invokepython:invokepython
""",
)
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