Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions python/MDSplus/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
authors = [
{name = "MDSplus Development Team", email = "[email protected]"},
]
license = {text = "MIT License"}
license = "MIT"
description = "MDSplus Python Object interface"
classifiers = [
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Environment :: Console",
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: MIT License",
]
keywords=['physics', 'mdsplus']
dynamic = ["version"]
Expand All @@ -28,22 +27,18 @@
Issues = "https://github.com/MDSplus/mdsplus/issues"

[project.optional-dependencies]
widgets = ["gtk", "gobject"]
widgets = ["pygobject"]

[tool.setuptools]
packages = [
'MDSplus',
'MDSplus.widgets',
'MDSplus.wsgi',
'MDSplus.tests',
]
include-package-data = false # use package-data below

[tool.setuptools.package-dir]
'MDSplus' = '.'
'MDSplus.widgets' = 'widgets'
'MDSplus.wsgi' = 'wsgi'
'MDSplus.tests' = 'tests'

[tool.setuptools.package-data]
'MDSplus.wsgi' = [
Expand All @@ -52,6 +47,9 @@
'js/*',
'*.tbl',
]
'MDSplus.widgets' = [
'*.xml',
]

[tool.setuptools.dynamic]
version = {attr = '_version.version'}