-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Overhauled packaging and testing
- Loading branch information
Showing
9 changed files
with
109 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: test suite | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
allow-prereleases: true | ||
cache: pip | ||
cache-dependency-path: pyproject.toml | ||
- name: Install dependencies | ||
run: pip install -e .[test] | ||
- name: Test with pytest | ||
run: pytest -v |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools >= 64", | ||
"setuptools_scm >= 6.4" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "tkreload" | ||
description = "A library that auto reloads your tkinter app whenever file changes are detected." | ||
readme = "README.md" | ||
authors = [{name = "iamDyeus", email = "[email protected]"}] | ||
license = {text = "Apache License 2.0"} | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Developers", | ||
"Topic :: Software Development :: Build Tools", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3", | ||
] | ||
requires-python = ">=3.9" | ||
dependencies = [ | ||
"watchdog >= 5.0.3", | ||
"rich >= 13.9.2" | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
Documentation = "https://github.com/iamDyeus/tkreload/blob/main/README.md" | ||
"Bug Tracker" = "https://github.com/iamDyeus/tkreload/issues" | ||
"Source code" = "https://github.com/iamDyeus/tkreload" | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"pytest >= 7", | ||
"pytest-cov" | ||
] | ||
|
||
[project.scripts] | ||
tkreload = "kreload.main:main" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["tkreload", "tkreload.*"] | ||
namespaces = false | ||
|
||
[tool.setuptools_scm] | ||
version_scheme = "post-release" | ||
local_scheme = "dirty-tag" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,8 @@ | |
applications, enhancing the development workflow for Tkinter-based projects. | ||
""" | ||
|
||
__all__ = ["TkreloadApp", "AutoReloadManager", "show_help"] | ||
|
||
from .main import TkreloadApp, main | ||
from .main import TkreloadApp | ||
from .auto_reload import AutoReloadManager | ||
from .help import show_help | ||
|
||
__all__ = ["TkreloadApp", "AutoReloadManager", "show_help"] | ||
|
||
__version__ = "1.0.1" | ||
__author__ = "iamDyeus" | ||
__license__ = "Apache 2.0" | ||
__email__ = "[email protected]" |