跳转到主要内容

现代Python构建后端

项目描述

trampolim

test codecov check Documentation Status PyPI version

现代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 查看哈希值)

上传时间 Python 3

由以下支持

AWSAWS 云计算和安全赞助商 DatadogDatadog 监控 FastlyFastly CDN GoogleGoogle 下载分析 MicrosoftMicrosoft PSF赞助商 PingdomPingdom 监控 SentrySentry 错误记录 StatusPageStatusPage 状态页面