3

このように setup.py から py-yajl をインストールしたいと思います。

from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))

requires = [
    'yajl',
]

setup(
    ...
    install_requires=requires,
    tests_require=requires,
    ...
)

しかし、この setup.py にはいくつかのエラーがあります。

>>> Creating a symlink for compilationg: includes/yajl -> yajl/src/api
error: SandboxViolation: symlink('../yajl/src/api', 'includes/yajl') {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

pip を使用して yajl をインストールできることはわかっています。setup.py で pip を使用するように構成を変更できる場合は、yajl をインストールしますが、その方法がわかりません。

誰かが良い考えを持っていますか?

4

0 に答える 0