-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
72 lines (60 loc) · 2.13 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "ispyb"
version = "10.2.4"
description = "Python package to access ISPyB database"
authors = [
{ name = "Diamond Light Source", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = ["ISPyB", "database"]
requires-python = ">=3.7"
readme = "README.md"
license = { text = "Apache License 2.0" }
dependencies = ["mysql-connector-python>=8.0.32", "sqlalchemy>=1.4,<3", "tabulate"]
[project.urls]
Documentation = "https://ispyb.readthedocs.io"
GitHub = "https://github.com/DiamondLightSource/ispyb-api"
Bug-Tracker = "https://github.com/DiamondLightSource/ispyb-api/issues"
[project.entry-points."libtbx.dispatcher.script"]
"ispyb.job" = "ispyb.job"
"ispyb.last_data_collections_on" = "ispyb.last_data_collections_on"
[project.entry-points."libtbx.precommit"]
ispyb = "ispyb"
[project.scripts]
"ispyb.job" = "ispyb.cli.job:main"
"ispyb.last_data_collections_on" = "ispyb.cli.last_data_collections_on:main"
[tool.setuptools]
script-files = ["bin/dimple2ispyb.py", "bin/mxdatareduction2ispyb.py"]
[tool.ruff.lint.isort]
known-first-party = ["ispyb"]
[tool.ruff.lint]
select = ["E", "F", "W", "C4", "I"]
unfixable = ["F841"]
# E501 line too long (if formatter cannot split, we don't worry)
ignore = ["E501"]
[tool.bumpversion]
current_version = "10.2.4"
commit = true
tag = true
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'
[[tool.bumpversion.files]]
filename = "src/ispyb/__init__.py"
search = '__version__ = "{current_version}"'
replace = '__version__ = "{new_version}"'