Skip to content

Commit 225bbee

Browse files
committed
Move all project metadata to pyproject.toml
1 parent f41d956 commit 225bbee

File tree

2 files changed

+56
-43
lines changed

2 files changed

+56
-43
lines changed

pyproject.toml

+56-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,59 @@ build-backend = "setuptools.build_meta"
44

55
[tool.setuptools_scm]
66
version_scheme = "release-branch-semver"
7-
local_scheme = "no-local-version"
7+
local_scheme = "no-local-version"
8+
9+
[tool.setuptools]
10+
zip-safe = false
11+
include-package-data = true
12+
13+
[tool.setuptools.packages]
14+
find = {namespaces = false}
15+
16+
17+
[project]
18+
name = "labscript"
19+
description = "The labscript compiler — expressive control of harware-timed experiments"
20+
authors = [
21+
{name = "The labscript suite community", email = "[email protected]"},
22+
]
23+
keywords = ["experiment control", "automation"]
24+
license = {file = 'LICENSE.txt'}
25+
classifiers = [
26+
"License :: OSI Approved :: BSD LIcense",
27+
"Programming Language :: Python :: 3 :: Only",
28+
"Programming Language :: Python :: 3.6",
29+
"Programming Language :: Python :: 3.7",
30+
"Programming Language :: Python :: 3.8",
31+
"Programming Language :: Python :: 3.9",
32+
"Programming Language :: Python :: 3.10",
33+
"Programming Language :: Python :: 3.11",
34+
]
35+
requires-python = ">=3.6"
36+
dependencies = [
37+
"importlib_metadata",
38+
"labscript_utils>=3.0.0",
39+
"numpy>=1.15",
40+
"scipy",
41+
"matplotlib",
42+
]
43+
dynamic = ["version"]
44+
45+
[project.readme]
46+
file = "README.md"
47+
content-type = "text/markdown"
48+
49+
[project.urls]
50+
Homepage = "http://labscriptsuite.org/"
51+
Documentation = "https://docs.labscriptsuite.org/"
52+
Repository = "https://github.com/labscript-suite/labscript/"
53+
Downloads = "https://github.com/labscript-suite/labscript/releases/"
54+
Tracker = "https://github.com/labscript-suite/labscript/issues/"
55+
56+
[project.optional-dependencies]
57+
docs = [
58+
"PyQt5",
59+
"Sphinx==7.2.6",
60+
"sphinx-rtd-theme==2.0.0",
61+
"myst_parser==2.0.0",
62+
]

setup.cfg

-42
This file was deleted.

0 commit comments

Comments
 (0)