diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index efb2f719..bed79012 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -61,7 +61,7 @@ jobs: shell: bash run: | python -m pip install --upgrade pip - python -m pip install -e 'libs/pyTermTk[test]' + python -m pip install -e '.[test]' - name: Lint with flake8 run: | diff --git a/apps/ttkode/pyproject.toml b/apps/ttkode/pyproject.toml index 31f70d58..36c47505 100644 --- a/apps/ttkode/pyproject.toml +++ b/apps/ttkode/pyproject.toml @@ -1,51 +1,58 @@ [build-system] -requires = ["setuptools>=45", "wheel"] -build-backend = "setuptools.build_meta" + requires = ["setuptools>=45", "wheel"] + build-backend = "setuptools.build_meta" [project] -name = "ttkode" -dynamic = ["version"] -readme = {file = "README.md", content-type = "text/markdown"} -authors = [ - {name = "Eugenio Parodi", email = "ceccopierangiolieugenio@googlemail.com"}, -] -description = "Terminal ToolKit Studio Code editor" -requires-python = ">=3.9" -license = {text = "MIT"} -classifiers = [ - "Programming Language :: Python :: 3", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - "Development Status :: 3 - Alpha", - "Environment :: Console", - "Intended Audience :: Developers", - "Intended Audience :: Information Technology", - "Topic :: Terminals", - "Topic :: Software Development :: User Interfaces", -] -dependencies = [ - 'pyTermTk>=0.48.1-a0', - 'pytest', - 'appdirs', - 'copykitten', - 'pygments' -] + name = "ttkode" + dynamic = ["version"] + readme = {file = "README.md", content-type = "text/markdown"} + authors = [ + {name = "Eugenio Parodi", email = "ceccopierangiolieugenio@googlemail.com"}, + ] + description = "Terminal ToolKit Studio Code editor" + requires-python = ">=3.9" + license = {text = "MIT"} + classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Development Status :: 3 - Alpha", + "Environment :: Console", + "Intended Audience :: Developers", + "Intended Audience :: Information Technology", + "Topic :: Terminals", + "Topic :: Software Development :: User Interfaces", + ] + dependencies = [ + 'pyTermTk>=0.48.1-a0', + 'pytest', + 'appdirs', + 'copykitten', + 'pygments' + ] + +[project.optional-dependencies] + test = [ + "pytest>=8.3.4", + "mypy>=1.15.0" + ] [project.urls] -Homepage = "https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/apps/ttkode" -Repository = "https://github.com/ceccopierangiolieugenio/pyTermTk.git" -Issues = "https://github.com/ceccopierangiolieugenio/pyTermTk/issues" -Changelog = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/apps/ttkode/CHANGELOG.md" + Homepage = "https://github.com/ceccopierangiolieugenio/pyTermTk/tree/main/apps/ttkode" + Repository = "https://github.com/ceccopierangiolieugenio/pyTermTk.git" + Issues = "https://github.com/ceccopierangiolieugenio/pyTermTk/issues" + Changelog = "https://github.com/ceccopierangiolieugenio/pyTermTk/blob/main/apps/ttkode/CHANGELOG.md" [project.scripts] -ttkode = "ttkode.__main__:main" + ttkode = "ttkode.__main__:main" [tool.setuptools] -packages = [ - "ttkode", "ttkode.app", - "ttkode.plugins", - "ttkode.plugins._010", - ] + packages = [ + "ttkode", "ttkode.app", + "ttkode.plugins", + "ttkode.plugins._010", + "ttkode.plugins._030", + ] [tool.setuptools.dynamic] -version = {attr = "ttkode.__version__"} + version = {attr = "ttkode.__version__"} diff --git a/pyproject.toml b/pyproject.toml index 51813f18..f53b80c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,6 +29,8 @@ [project.optional-dependencies] test = [ + "pyTermTk[test]", + "ttkode[test]", "pytest>=8.3.4", "flake8>=7.2.0", "mypy>=1.15.0"