diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..c77e0ca --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,91 @@ +# pyproject.toml + +[tool.poetry] +name = "docs-libre-is" +description = "Libre Users Documentation." +authors = [ + "Libre Documentation Developers " +] +license = "Apache-2.0" +# https://pypi.org/classifiers/ +classifiers = [ + "Development Status :: 3 - Alpha", + "Environment :: Console", + "Intended Audience :: Developers", + "Intended Audience :: Education", + "License :: OSI Approved :: Apache Software License", + "Natural Language :: English", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python :: 3", + "Topic :: Education", +] + +readme = "README.md" +version = "0.0.1" + +# If a Python code subdirectory is used: +# packages = [ +# { include = "foocode" }, +# ] +package-mode = false + +[tool.poetry.dependencies] +polib = "*" +pycountry = "*" +pygments = "*" +python = ">=3.10" +requests = "*" +setuptools_scm = "*" +sphinx = "*" +sphinx-autobuild = "*" +sphinx-autodoc-typehints = "*" +sphinx-intl = "*" +sphinx-notfound-page = "*" +sphinx-rtd-theme = "*" +sphinxcontrib-markdown = "*" + +[build-system] +requires = ["poetry-core", "setuptools_scm"] +build-backend = "poetry.core.masonry.api" + +# If separate scripts are do be added +# [tool.poetry.scripts] +# librescript = "librescript:main" + + +[tool.poetry.urls] +homepage = "https://docs.libre.is" +documentation = "https://docs.libre.is" +repository = "https://code.libre.is/libre/docs-libre-is" +issues = "https://code.libre.is/libre/docs-libre-is/issues" +changelog = "https://code.libre.is/libre/docs-libre-is/raw/branch/main/CHANGELOG.txt" + +# Directory of Python scripts, if used. +# [options.packages.find] +# include = "libre" +# [options.package_data] +# libre = "_version.py" + +[tool.poetry.dev-dependencies] +black = "*" +poetry = "*" +pyprof2calltree = "*" +# Linter +# ruff = "*" +# If pushed to pypi +# twine = "*" + +# Auto versioning for scripts +# [tool.setuptools_scm] +# write_to = "libre/_version.py" + +# If linter is used +# [tool.ruff] +# line-length = 88 +# [tool.ruff.lint] +# select = [ +# "E", +# "W", +# "F", +#] +# ignore = [ "E501" ]