From 6b02ecd5147d53c9eb05dd3f7334fe8f78a04287 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Sun, 31 Mar 2024 00:20:18 +0100 Subject: Replace manually written be script with standard entry-point. --- pyproject.toml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 6db2b6f..8dd1fe6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,19 @@ classifiers = ["Development Status :: 4 - Beta", description = "Bugtracker supporting distributed revision control" readme = "README" +[project.scripts] +be = "libbe.ui.command_line:main" + +[tool.setuptools] +packages=['libbe', + 'libbe.command', + 'libbe.storage', + 'libbe.storage.util', + 'libbe.storage.vcs', + 'libbe.ui', + 'libbe.ui.util', + 'libbe.util'] + [tool.setuptools_scm] @@ -48,14 +61,6 @@ readme = "README" # version.version())), # platforms=['all'], # long_description=open(os.path.join(_this_dir, 'README.rst'), 'r').read(), -# packages=['libbe', -# 'libbe.command', -# 'libbe.storage', -# 'libbe.storage.util', -# 'libbe.storage.vcs', -# 'libbe.ui', -# 'libbe.ui.util', -# 'libbe.util'], # scripts=['be'], # data_files=data_files, # requires=[ -- cgit