PIP忽略了设置中的Python_requires字段
我在我的设置中有以下内容
[metadata]
name = mathsom
python_requires = '>=3.8'
...
。安装命令:
pip install --extra-index-url https://test.pypi.org/simple/ mathsom
PIP不需要Python 3.8环境吗?
这是test.pypi链接: pypi project ,在这里回购: github repo
我知道setup.cfg文件是在工作,因为pip install install install install install in install> install> install_requires
现场和Trove分类器在测试PYPI中显示。
完整的设置.cfg文件:
[metadata]
name = mathsom
python_requires = '>=3.8'
author = Oliver Mohr B.
author_email = [email protected]
version = 0.1.2
description = Personal library for math related problems
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/oliverm91/mathsom
license_files = LICENSE
keywords = solvers, solver, interpolations, interpolation, numerics, derivatives, integrals
classifiers =
Development Status :: 3 - Alpha
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering :: Mathematics
Natural Language :: English
[options]
package_dir=
= src
packages=find:
install_requires =
numpy
scipy
[options.packages.find]
where=src
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
python_requires
属于 :python_requires
belongs to section[options]
: