2023-03-07 22:54:05 +00:00
|
|
|
[build-system]
|
|
|
|
#######################
|
|
|
|
# Python build system #
|
|
|
|
#######################
|
|
|
|
# The build system to use when installing this package.
|
|
|
|
# Used when installing the package with `pip install .`.
|
|
|
|
# See also: https://www.python.org/dev/peps/pep-0517/
|
|
|
|
|
|
|
|
requires = ["poetry-core>=1.0.0"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.poetry]
|
|
|
|
###################
|
|
|
|
# Poetry settings #
|
|
|
|
###################
|
|
|
|
# See https://python-poetry.org/docs/pyproject/ for more details!
|
|
|
|
|
|
|
|
# The name of your project.
|
|
|
|
# Ensure that it is available on PyPI: https://pypi.org/
|
|
|
|
name = "emblematic"
|
|
|
|
|
|
|
|
# The version of the package.
|
2023-11-19 03:32:24 +00:00
|
|
|
version = "1.0.3"
|
2023-03-07 22:54:05 +00:00
|
|
|
|
|
|
|
# A brief, one-sentence description about your project.
|
2023-11-19 03:06:52 +00:00
|
|
|
description = "Generate emblems from an icon and a background"
|
2023-03-07 22:54:05 +00:00
|
|
|
|
|
|
|
# A list of the authors of the project.
|
|
|
|
authors = [
|
|
|
|
"Stefano Pigozzi <me@steffo.eu>",
|
|
|
|
]
|
|
|
|
|
|
|
|
# A list of maintainers of the project.
|
|
|
|
# Often, it is the same as the authors list.
|
|
|
|
maintainers = [
|
|
|
|
"Stefano Pigozzi <me@steffo.eu>",
|
|
|
|
]
|
|
|
|
|
|
|
|
# The license of the package.
|
|
|
|
# Uses SPDX format: https://spdx.org/licenses/
|
2023-11-19 02:00:13 +00:00
|
|
|
license = "EUPL-1.2"
|
2023-03-07 22:54:05 +00:00
|
|
|
|
|
|
|
# The README file.
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
# The URL of the project website.
|
|
|
|
# Not the GitHub repository!
|
|
|
|
#homepage = "https://example.org/"
|
|
|
|
|
|
|
|
# The URL of the project repository.
|
|
|
|
repository = "https://github.com/Steffo99/emblematic/"
|
|
|
|
|
|
|
|
# The URL of the project documentation location.
|
|
|
|
documentation = "https://emblematic.readthedocs.io/latest/"
|
|
|
|
|
|
|
|
# Up to five keywords related to your project.
|
|
|
|
# See also: https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#keywords
|
2023-03-10 22:51:35 +00:00
|
|
|
keywords = [
|
|
|
|
"icon",
|
|
|
|
"avatar",
|
|
|
|
"emblem",
|
|
|
|
"logo",
|
|
|
|
"symbol",
|
|
|
|
]
|
2023-03-07 22:54:05 +00:00
|
|
|
|
|
|
|
# Any number of trove classifiers that apply to your project.
|
|
|
|
# See the list at: https://pypi.org/classifiers/
|
|
|
|
classifiers = [
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
2023-03-10 22:51:35 +00:00
|
|
|
"Development Status :: 3 - Alpha",
|
|
|
|
"Environment :: Console",
|
|
|
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
|
|
|
"Topic :: Multimedia :: Graphics",
|
|
|
|
"Typing :: Typed",
|
2023-03-07 22:54:05 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
# ADVANCED: specify the packages exported by your project
|
|
|
|
# See also: https://python-poetry.org/docs/pyproject/#packages
|
|
|
|
# packages = [
|
|
|
|
# # Regular packages
|
|
|
|
# { include = "OTHER_PACKAGE_NAME" },
|
|
|
|
# # Namespace packages
|
|
|
|
# { include = "EXTEND/OTHER/NAMESPACE/**/*.py" }
|
|
|
|
# ]
|
|
|
|
|
|
|
|
# ADVANCED: include additional files in the build
|
|
|
|
# include = [
|
|
|
|
# "FILENAME.txt"
|
|
|
|
# ]
|
|
|
|
|
|
|
|
# ADVANCED: exclude files from the build
|
|
|
|
# exclude = [
|
|
|
|
# "PACKAGE_NAME/test.py"
|
|
|
|
# ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.poetry.urls]
|
|
|
|
##################
|
|
|
|
# URLs #
|
|
|
|
##################
|
|
|
|
# Additional project URLs in a name → link mapping.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.poetry.scripts]
|
|
|
|
#####################
|
|
|
|
# Scripts #
|
|
|
|
#####################
|
|
|
|
# Poetry can create "binaries" to add to the PATH when the project is installed.
|
|
|
|
# They are specified in the form of a mapping with the command name as key and the function to execute as value.
|
|
|
|
|
|
|
|
emblematic = "emblematic.__main__:main"
|
|
|
|
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
##########################
|
|
|
|
# Dependencies #
|
|
|
|
##########################
|
|
|
|
# A mapping of dependencies of the project
|
|
|
|
# It should be maintained by `poetry add` / `poetry remove`, but it currently adds things after all comments...
|
|
|
|
# You can manually specify allowed version numbers:
|
|
|
|
# * means "any release"
|
|
|
|
# * → any
|
|
|
|
# ^X.X.X means "newer releases with this major version"
|
|
|
|
# ^3.10.1 → == 3 && >= 3.10.1
|
|
|
|
# ~X.X.X means "newer releases with this minor version"
|
|
|
|
# ~3.10.1 → == 3.10 && >= 3.10.1
|
|
|
|
# nothing means "this specific release"
|
|
|
|
# 3.10.1 → == 3.10.1
|
|
|
|
|
|
|
|
python = "^3.10"
|
2023-03-07 23:41:42 +00:00
|
|
|
cairosvg = "^2.6.0"
|
|
|
|
click = "^8.1.3"
|
|
|
|
beautifulsoup4 = "^4.11.2"
|
|
|
|
lxml = "^4.9.2"
|
2023-03-07 22:54:05 +00:00
|
|
|
|
2023-11-19 02:26:08 +00:00
|
|
|
Sphinx = { version = "^7.2.6", optional = true }
|
|
|
|
sphinx-rtd-theme = { version = "^1.2.0", optional = true }
|
2023-03-07 23:41:42 +00:00
|
|
|
|
|
|
|
|
|
|
|
[tool.poetry.extras]
|
2023-03-07 22:54:05 +00:00
|
|
|
####################
|
|
|
|
# Package extras #
|
|
|
|
####################
|
|
|
|
# ADVANCED: specify optional dependency groups.
|
|
|
|
# See: https://python-poetry.org/docs/pyproject/#extras
|
|
|
|
|
2023-11-19 02:26:08 +00:00
|
|
|
docs = ["Sphinx", "sphinx-rtd-theme"]
|
2023-03-07 22:54:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
[tool.poetry.plugins]
|
|
|
|
#####################
|
|
|
|
# Poetry plugins #
|
|
|
|
#####################
|
|
|
|
# ADVANCED: extend Poetry's functionality.
|
|
|
|
# See: https://python-poetry.org/docs/pyproject/#plugins
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
#########################
|
|
|
|
# Pytest configuration #
|
|
|
|
#########################
|