现代Python构建后端
项目描述
trampolim
现代Python构建后端。
特性
- 任务系统,允许在构建过程中运行任意Python代码
- 自动从git仓库和git存档中检测版本
- 易于使用的CLI -- 构建、发布、检查错误和推荐做法(计划中)
使用方法
trampolim
实现了PEP 621。您的pyproject.toml
应该看起来像这样
[build-system]
build-backend = 'trampolim'
requires = ['trampolim~=0.1.0']
[project]
name = 'sample_project'
version = '1.0.0'
description = 'A sample project'
readme = 'README.md'
requires-python = '>=3.7'
license = { file = 'LICENSE' }
authors = [
{ name = 'Filipe Laíns', email = 'lains@riseup.net' },
]
classifiers = [
'Development Status :: 4 - Beta',
'Programming Language :: Python',
]
dependencies = [
'dependency',
'some-backport ; python_version < "3.8"',
]
[project.optional-dependencies]
test = [
'pytest',
'pytest-cov',
]
[project.scripts]
sample_entrypoint = 'sample_project:entrypoint_function'
[project.urls]
homepage = 'https://my-sample-project-website.example.com'
documentation = 'https://github.com/some-user/sample-project'
repository = 'https://github.com/some-user/sample-project'
changelog = 'https://github.com/some-user/sample-project/blob/master/CHANGELOG.rst'
项目详情
下载文件
下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。
源代码分发
trampolim-0.1.0.tar.gz (10.1 kB 查看哈希值)
构建分发
trampolim-0.1.0-py3-none-any.whl (12.2 kB 查看哈希值)
关闭
trampolim-0.1.0.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | f4ca5a4cf6ba7adb252cf1972799da6a63d4d587dc59813a555df2080760c264 |
|
MD5 | 8d296d6fe228ab73770b4e4171c81667 |
|
BLAKE2b-256 | a02a9b3c1480ec3a1b22de95b3395f81da7b5039259d27253a5fa10e7502a48f |
关闭
trampolim-0.1.0-py3-none-any.whl的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | 3596443f998b1fbacacad11f7c6faf4c4f4d4b58836f9ca0b92cd34b2256befe |
|
MD5 | 3b7476e7735b109095e7f78102cd9c05 |
|
BLAKE2b-256 | 4c462aea7ea59afb9327c08cc8fa9c1e365ea8499d5c5248dd65df9781b0a3ff |