Move package config to pyproject.toml
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
[flake8]
|
||||
ignore = E133,E221,E226,E228,E241,W503
|
||||
max-line-length = 99
|
||||
exclude = docs/*
|
||||
@@ -1,3 +1,45 @@
|
||||
[build-system]
|
||||
requires = ["setuptools"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "novelWriter"
|
||||
authors = [
|
||||
{name = "Veronica Berglyd Olsen", email = "code@vkbo.net"},
|
||||
]
|
||||
description = "A markdown-like text editor for planning and writing novels"
|
||||
readme = {file = "setup/description_pypi.md", content-type = "text/markdown"}
|
||||
requires-python = ">=3.8"
|
||||
license = {text = "GNU General Public License v3"}
|
||||
classifiers = [
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"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 :: Implementation :: CPython",
|
||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Operating System :: OS Independent",
|
||||
"Intended Audience :: End Users/Desktop",
|
||||
"Natural Language :: English",
|
||||
"Topic :: Text Editors",
|
||||
]
|
||||
dynamic = ["version", "dependencies"]
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = {attr = "novelwriter.__version__"}
|
||||
dependencies = {file = ["requirements.txt"]}
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://novelwriter.io"
|
||||
Documentation = "https://docs.novelwriter.io"
|
||||
Repository = "https://github.com/vkbo/novelWriter"
|
||||
Issues = "https://github.com/vkbo/novelWriter/issues"
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["novelwriter*"]
|
||||
|
||||
[project.gui-scripts]
|
||||
novelwriter = "novelwriter:main"
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
[metadata]
|
||||
name = novelWriter
|
||||
version = attr: novelwriter.__version__
|
||||
author = Veronica Berglyd Olsen
|
||||
author_email = code@vkbo.net
|
||||
description = A markdown-like text editor for planning and writing novels
|
||||
url = https://novelwriter.io
|
||||
long_description = file: setup/description_pypi.md
|
||||
long_description_content_type = text/markdown
|
||||
license_files = LICENSE.md
|
||||
license = GNU General Public License v3
|
||||
classifiers =
|
||||
Programming Language :: Python :: 3 :: Only
|
||||
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 :: Implementation :: CPython
|
||||
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
||||
Development Status :: 5 - Production/Stable
|
||||
Operating System :: OS Independent
|
||||
Intended Audience :: End Users/Desktop
|
||||
Natural Language :: English
|
||||
Topic :: Text Editors
|
||||
project_urls =
|
||||
Bug Tracker = https://github.com/vkbo/novelWriter/issues
|
||||
Documentation = https://docs.novelwriter.io
|
||||
Source Code = https://github.com/vkbo/novelWriter
|
||||
|
||||
[options]
|
||||
zip_safe = False
|
||||
python_requires = >=3.8
|
||||
include_package_data = True
|
||||
packages = find_namespace:
|
||||
install_requires =
|
||||
pyqt5>=5.10
|
||||
pyenchant>=3.0.0
|
||||
|
||||
[options.packages.find]
|
||||
include = novelwriter*
|
||||
|
||||
[options.entry_points]
|
||||
gui_scripts =
|
||||
novelwriter = novelwriter:main
|
||||
|
||||
[bdist_wheel]
|
||||
universal = 0
|
||||
|
||||
[flake8]
|
||||
ignore = E133,E221,E226,E228,E241,W503
|
||||
max-line-length = 99
|
||||
exclude = docs/*
|
||||
Reference in New Issue
Block a user