我有以下情况,pip install -e .除非我删除不包含打包信息,但黑色配置的版本,否则不会构建版本。developpyproject.toml
有人知道该怎么做才能获得构建develop。
我的pyproject.toml样子是这样的:
# Source https://github.com/psf/black#configuration-format
[tool.black]
line-length = 100
target-version = ['py38']
exclude = '''
'''
Run Code Online (Sandbox Code Playgroud)
setup.py
from setuptools import find_namespace_packages
from setuptools import setup
setup(
name="webservice",
packages=find_packages(),
version="0.1.0",
description="description",
author="Author",
license="License",
)
Run Code Online (Sandbox Code Playgroud)
pip install -e .使用这两个文件运行...
(webservice_tool)pk@LAP1:~/webservice_tool$ pip install -e .
Obtaining file:///home/pk/webservice_tool
Installing build dependencies ... done
Checking if build backend supports build_editable ... done
Getting requirements to build editable ... …Run Code Online (Sandbox Code Playgroud)