为Python3.5.x工作的PyChef构建
我正在尝试运行主分支的安装程序。当我运行以下命令时,我得到了结果错误,并且没有安装: repo根目录包含 产生的错误:为Python3.5.x工作的PyChef构建,python,setup.py,pychef,Python,Setup.py,Pychef,我正在尝试运行主分支的安装程序。当我运行以下命令时,我得到了结果错误,并且没有安装: repo根目录包含 产生的错误: 您应该将命令添加到setup.py: $ python setup.py build $ sudo python setup.py install 您可以运行python setup.py--help命令来获取所有可能命令的列表: Standard commands: build build everything needed to install
您应该将命令添加到
setup.py
:
$ python setup.py build
$ sudo python setup.py install
您可以运行python setup.py--help命令来获取所有可能命令的列表:
Standard commands:
build build everything needed to install
build_py "build" pure Python modules (copy to build directory)
build_ext build C/C++ and Cython extensions (compile/link to build directory)
build_clib build C/C++ libraries used by Python extensions
build_scripts "build" scripts (copy and fixup #! line)
clean clean up temporary files from 'build' command
install install everything from build directory
install_lib install all Python modules (extensions and pure Python)
install_headers install C/C++ header files
install_scripts install scripts (Python or otherwise)
install_data install data files
sdist create a source distribution (tarball, zip file, etc.)
register register the distribution with the Python package index
bdist create a built (binary) distribution
bdist_dumb create a "dumb" built distribution
bdist_rpm create an RPM distribution
bdist_wininst create an executable installer for MS Windows
upload upload binary package to PyPI
check perform some checks on the package
$ python setup.py build
$ sudo python setup.py install
Standard commands:
build build everything needed to install
build_py "build" pure Python modules (copy to build directory)
build_ext build C/C++ and Cython extensions (compile/link to build directory)
build_clib build C/C++ libraries used by Python extensions
build_scripts "build" scripts (copy and fixup #! line)
clean clean up temporary files from 'build' command
install install everything from build directory
install_lib install all Python modules (extensions and pure Python)
install_headers install C/C++ header files
install_scripts install scripts (Python or otherwise)
install_data install data files
sdist create a source distribution (tarball, zip file, etc.)
register register the distribution with the Python package index
bdist create a built (binary) distribution
bdist_dumb create a "dumb" built distribution
bdist_rpm create an RPM distribution
bdist_wininst create an executable installer for MS Windows
upload upload binary package to PyPI
check perform some checks on the package