Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ignore =

exclude =
# These are auto-generated. Just ignore any issues.
trame_client/widgets/html.py
src/trame_client/widgets/html.py

per-file-ignores =
# These directories will always contain "from ... import *"
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ repos:
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
exclude: ^trame_client/LICENSE$
- id: mixed-line-ending
- id: name-tests-test
args: ["--pytest-test-first"]
Expand Down
14 changes: 0 additions & 14 deletions MANIFEST.in

This file was deleted.

24 changes: 17 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,29 @@ dev = [


[build-system]
requires = ['setuptools', 'wheel']
build-backend = 'setuptools.build_meta'
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.setuptools.packages.find]
where = ["."]
[tool.hatch.build]
include = [
"/src/**/*.py",
"/src/trame_client/module/serve/**",
"src/trame_client/module/user_provided_scripts/**",
]
Comment thread
Jo-Byr marked this conversation as resolved.

[tool.setuptools.package-data]
"*" = ["trame_client/module/user_provided_scripts/es", "trame_client/module/user_provided_scripts/umd/.gitkeep"]
[tool.hatch.build.targets.wheel]
packages = [
"src/trame_client",
"src/trame",
]
Comment thread
Jo-Byr marked this conversation as resolved.

[tool.semantic_release]
version_toml = [
"pyproject.toml:project.version",
]
version_variables = [
"src/trame_client/__init__.py:__version__",
]
build_command = """
python -m venv .venv
source .venv/bin/activate
Expand All @@ -78,7 +88,7 @@ fixable = ["ALL"]
unfixable = []

[tool.ruff.lint.per-file-ignores]
"trame_client/widgets/html.py" = ["E742"]
"src/trame_client/widgets/html.py" = ["E742"]

[tool.ruff.format]
quote-style = "double"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/trame/ui/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion trame_client/LICENSE

This file was deleted.

2 changes: 1 addition & 1 deletion vue2-app/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ module.exports = {
},
// productionSourceMap: false,
runtimeCompiler: true,
outputDir: path.resolve(__dirname, '../trame_client/module/vue2-www'),
outputDir: path.resolve(__dirname, '../src/trame_client/module/vue2-www'),
publicPath: './',
};
2 changes: 1 addition & 1 deletion vue3-app/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default {
base: "./",
build: {
outDir: "../trame_client/module/vue3-www",
outDir: "../src/trame_client/module/vue3-www",
},
};
Loading