Skip to content

Commit

Permalink
WIP: switching to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jotelha committed Nov 13, 2023
1 parent 5c14d8b commit d263903
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
55 changes: 55 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[build-system]
requires = ["setuptools>=60", "setuptools-scm>=8.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "dtool-lookup-gui"
packages = ["dtool_lookup_gui"]
authors = [
{name = "Johannes L. Hoermann", email = "[email protected]"},
{name = "Lars Pastewka", email = "[email protected]"},
]
description = "Graphical user interface for dtool"
readme = "README.rst"
requires-python = ">=3.7"
keywords = ["research data management", "dtool"]
license = {file = "LICENSE.md"}
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",

]

dynamic = ["version"]

dependencies = [
'dtoolcore>=3.17',
'dtool-create>=0.23.4',
'dtool-info>=0.16.2',
'dtool-lookup-api>=0.7.0',
'aiohttp>=3.6',
'gbulb>=0.6',
'pyyaml>=5.3',
'ruamel.yaml',
'PyGObject>=3.36',
'scipy>=1.5',
'numpy',
'jwt',
'yamllint'
]

[project.optional-dependencies]
test = [
"pytest",
"pytest-asyncio",
"pytest-flake8",
]

[project.urls]
documentation = "https://dtool-lookup-gui.readthedocs.io"
repository = "https://github.com/livMatS/dtool-lookup-gui"
changelog = "https://dtool-lookup-gui.readthedocs.io/en/latest/changelog.html"

[tool.setuptools_scm]
version_file = "dtool_lookup_gui/version.py"
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Flake8 cannot be configured through pyproject.toml
# See: https://github.com/PyCQA/flake8/issues/234
[flake8]
max-line-length = 120

0 comments on commit d263903

Please sign in to comment.