如何通过安装pyyajlsetup.py?

2024-05-14 18:15:32 发布

您现在位置:Python中文网/ 问答频道 /正文

我想把py yajl安装到设置.py这样地。在

from setuptools import setup, find_packages

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

requires = [
    'yajl',
]

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

但是这个设置.py有一些错误。在

^{pr2}$

我知道我可以用pip安装yajl。 如果某些配置可以通过设置.py为了使用pip,我将安装yajl,但我不知道如何去做。在

有人有好主意吗?在


Tags: pippathfrompyimporthereospackages

热门问题