包装[TOML Project]时,SetUptools不会安装依赖项
伙计们,我正在尝试打包我的python项目,但是当我在终端中运行python3 -m build
命令时,构建正常运行,但是没有安装依赖项,
我有.toml
如下所配置的文件
requires = ["setuptools", "setuptools-scm", "Appium-Python-Client==2.1.2"]
build-backend = "setuptools.build_meta"
我还具有setup.cfg
所配置的如下所示的文件,
[metadata]
name = python-frontend-framework
version = 0.0.1
author = name
author_email = [email protected]
description = This package cotains all thre structure to run automated tests in the python frontend framework
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
project_urls =
Bug Tracker = https://github.com/pypa/sampleproject/issues
classifiers =
Programming Language :: Python :: 3
License :: Open
Operating System :: OS Independent
[options]
package_dir =
= projects
include_package_data = True
packages = find_namespace:
python_requires = >=3.8
install_requires =
Appium-Python-Client
pytest
selenium=
pytest-bdd
webdriver-manager
[options.packages.find]
where = projects
我只是尝试运行命令python3 -m build
,但是,当我检查依赖项时,它没有安装。 执行成功没有任何问题。 有人知道我该如何解决?
先感谢您!
Guys, I'm trying to package my python project, but when I run the python3 -m build
command in the terminal, the build run properly, but the dependencies are not being installed
I have the .toml
file configured as below
requires = ["setuptools", "setuptools-scm", "Appium-Python-Client==2.1.2"]
build-backend = "setuptools.build_meta"
I have also a setup.cfg
file configured as below
[metadata]
name = python-frontend-framework
version = 0.0.1
author = name
author_email = [email protected]
description = This package cotains all thre structure to run automated tests in the python frontend framework
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pypa/sampleproject
project_urls =
Bug Tracker = https://github.com/pypa/sampleproject/issues
classifiers =
Programming Language :: Python :: 3
License :: Open
Operating System :: OS Independent
[options]
package_dir =
= projects
include_package_data = True
packages = find_namespace:
python_requires = >=3.8
install_requires =
Appium-Python-Client
pytest
selenium=
pytest-bdd
webdriver-manager
[options.packages.find]
where = projects
I'm just trying to run the command python3 -m build
, but when I check the dependencies, it was not installed.
The execution succeeded without any problem.
Someone knows how can I fix it?
Thank you in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论