Skip to main content

A modern Python build backend

Project description

trampolim

test codecov check

A modern Python build backend.

Features

  • Task system, allowing to run arbitrary Python code during the build process (Planned)
  • Easy to use CLI -- build, publish, check for errors and recommended practices (Planned)
  • Automatic version detection from git repos and archives

Usage

trampolim implements PEP 621. Your pyproject.toml should look something like this:

[build-system]
build-backend = 'trampolim'
requires = ['trampolim']

[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 = 'my-sample-project-website.example.com'
documentation = 'github.com/some-user/sample-project'
repository = 'github.com/some-user/sample-project'
changelog = 'github.com/some-user/sample-project/blob/master/CHANGELOG.rst'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trampolim-0.0.1.tar.gz (8.3 kB view hashes)

Uploaded Source

Built Distribution

trampolim-0.0.1-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page