working composectl, first attemp
This commit is contained in:
+14
-4
@@ -1,3 +1,7 @@
|
||||
# vim: set ft=toml ts=4 sw=4 et: fenc=utf-8
|
||||
# SPDX-FileCopyrightText: 2025-present RenatoXSR <renatoxsr@gmail.com>
|
||||
# SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=61.0.0", "setuptools-scm[simple]>=9.2"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
@@ -28,6 +32,7 @@ dependencies = [
|
||||
"python-datauri",
|
||||
"rich",
|
||||
"Jinja2",
|
||||
"base58",
|
||||
]
|
||||
|
||||
authors = [
|
||||
@@ -54,12 +59,17 @@ Homepage = "https://git.silveirarosa.com/renatoxsr/monorepo"
|
||||
Issues = "https://git.silveirarosa.com/renatoxsr/monorepo/issues"
|
||||
|
||||
[project.scripts]
|
||||
composectl = "scripts.composectl.main"
|
||||
composectl = "renatoxsr.scripts.composectl:main"
|
||||
|
||||
# SETUPTOOLS
|
||||
[tool.setuptools.packages.find]
|
||||
where = ["src/renatoxsr-py"]
|
||||
exclude = ["src/vendor*"]
|
||||
where = ["src-py"]
|
||||
exclude = ["vendor*"]
|
||||
# See: https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#src-layout
|
||||
# # Reserved package names
|
||||
# FlatLayoutPackageFinder.DEFAULT_EXCLUDE: ClassVar[tuple[str, ...]] = ('ci', 'ci.*', 'bin', 'bin.*', 'debian', 'debian.*', 'doc', 'doc.*', 'docs', 'docs.*', 'documentation', 'documentation.*', 'manpages', 'manpages.*', 'news', 'news.*', 'newsfragments', 'newsfragments.*', 'changelog', 'changelog.*', 'test', 'test.*', 'tests', 'tests.*', 'unit_test', 'unit_test.*', 'unit_tests', 'unit_tests.*', 'example', 'example.*', 'examples', 'examples.*', 'scripts', 'scripts.*', 'tools', 'tools.*', 'util', 'util.*', 'utils', 'utils.*', 'python', 'python.*', 'build', 'build.*', 'dist', 'dist.*', 'venv', 'venv.*', 'env', 'env.*', 'requirements', 'requirements.*', 'tasks', 'tasks.*', 'fabfile', 'fabfile.*', 'site_scons', 'site_scons.*', 'benchmark', 'benchmark.*', 'benchmarks', 'benchmarks.*', 'exercise', 'exercise.*', 'exercises', 'exercises.*', 'htmlcov', 'htmlcov.*', '[._]*', '[._]*.*')
|
||||
# # Reserved top-level module names
|
||||
# FlatLayoutModuleFinder.DEFAULT_EXCLUDE: ClassVar[tuple[str, ...]] = ('setup', 'conftest', 'test', 'tests', 'example', 'examples', 'build', 'toxfile', 'noxfile', 'pavement', 'dodo', 'tasks', 'fabfile', '[Ss][Cc]onstruct', 'conanfile', 'manage', 'benchmark', 'benchmarks', 'exercise', 'exercises', '[._]*')
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
#version = {attr = "__version__"}
|
||||
@@ -126,4 +136,4 @@ dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$" # Allow unused vari
|
||||
quote-style = "double" # Use double quotes (like Black)
|
||||
indent-style = "space" # Like Black, indent with spaces, rather than tabs.
|
||||
skip-magic-trailing-comma = false # Like Black, respect magic trailing commas.
|
||||
line-ending = "auto" # Like Black, automatically detect the appropriate line ending.
|
||||
line-ending = "auto" # Like Black, automatically detect the appropriate line ending.
|
||||
|
||||
Reference in New Issue
Block a user