Skip to content

Commit

Permalink
Switch to pyproject.toml build
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbueno committed Sep 13, 2024
1 parent adf71c1 commit b74c4ad
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 54 deletions.
47 changes: 47 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[build-system]
requires = ["setuptools", "setuptools_scm", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "terminedia_paint"
dynamic = ["version"]
license = {text = "LGPLv3+"}
authors = [{name = "João S. O. Bueno", email = "[email protected]"}]
keywords = ["terminal", "cmd", "posix", "xterm", "ANSI", "color", "ASCIIart", "unicode", "drawing", "art"]
classifiers = [
"Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: System Administrators",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: PyPy",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Topic :: Artistic Software",
"Topic :: Multimedia :: Graphics",
"Topic :: Terminals",
"Topic :: Terminals :: Terminal Emulators/X Terminals"
]
description = "Application to draw ASCIIart images interactively on the posix terminal"
readme = {file = "README.md", content-type = "text/markdown"}
dependencies = ["pillow>=6.0.0", "terminedia>=0.4.2"]

[project.urls]
"Source Code" = "https://github.com/jsbueno/terminedia-paint"

[project.optional-dependencies]
images = ["pillow>=6.0.0"]
tests = ["pytest"]

[project.scripts]
terminedia-paint = "terminedia_paint:run"

[tool.setuptools]
include-package-data = true
packages = ["terminedia_paint"]

[tool.setuptools.dynamic]
version = {attr = "terminedia_paint.__version__"}
54 changes: 0 additions & 54 deletions setup.py

This file was deleted.

2 changes: 2 additions & 0 deletions terminedia_paint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
from terminedia.values import EMPTY
from terminedia.widgets import WidgetCancelled

__version__ = "0.1.1"

"""
Early version of paint-app for the terminal, using Terminedia.
Expand Down

0 comments on commit b74c4ad

Please sign in to comment.