Skip to content

Commit bbe4acd

Browse files
authored
Merge pull request #46 from feranick/master
Replace deprecated setup.py with pyproject.toml
2 parents a9f3e14 + 25a2b95 commit bbe4acd

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

source/pyproject.toml

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "EasyLEED"
7+
version = "2.5.2"
8+
dependencies = [
9+
"numpy",
10+
"matplotlib",
11+
"scipy",
12+
"pillow",
13+
"pathlib",
14+
"pandas",
15+
"scikit-image",
16+
"PyQt5"
17+
]
18+
19+
authors = [{ name="Andreas Mayer", email="[email protected]" },
20+
{name="Hanna Salopaasi"},
21+
{name= "Nicola Ferralis"},
22+
]
23+
24+
maintainers = [
25+
{name = "Andreas Mayer", email = "[email protected]"}
26+
]
27+
28+
description = "Automated extraction of intensity-energy spectra from low-energy electron diffraction patterns"
29+
30+
readme = "../README.md"
31+
32+
license = {text = "GNU General Public License v2 (GPLv2)"}
33+
34+
requires-python = ">=3.9"
35+
classifiers = [
36+
"Programming Language :: Python :: 3",
37+
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
38+
"Operating System :: OS Independent",
39+
"Development Status :: 5 - Production/Stable",
40+
"Programming Language :: Python",
41+
"Programming Language :: Python :: 3",
42+
"Programming Language :: Python :: 3.9",
43+
"Programming Language :: Python :: 3.10",
44+
"Programming Language :: Python :: 3.11",
45+
"Programming Language :: Python :: 3.12",
46+
"Intended Audience :: Science/Research",
47+
"Topic :: Scientific/Engineering :: Chemistry",
48+
"Topic :: Scientific/Engineering :: Physics",
49+
]
50+
51+
[project.optional-dependencies]
52+
skimage = ["scikit-image"]
53+
fits = ["pyfits"]
54+
55+
[project.gui-scripts]
56+
easyleed = "easyleed.__main__:main"
57+
58+
[project.urls]
59+
Homepage = "https://andim.github.io/easyleed/"
60+
Documentation = "https://qimmuno.com/easyleed/userdoc.html"
61+
Repository = "https://github.com/andim/easyleed.git"
62+
Issues = "https://andim.github.io/easyleed/issues"
63+
Changelog = "https://github.com/andim/easyleed/blob/master/changelog"

source/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
'Programming Language :: Python :: 3.8',
3535
'Programming Language :: Python :: 3.9',
3636
'Programming Language :: Python :: 3.10',
37+
'Programming Language :: Python :: 3.11',
38+
'Programming Language :: Python :: 3.12',
3739
'Intended Audience :: Science/Research',
3840
'Topic :: Scientific/Engineering :: Chemistry',
3941
'Topic :: Scientific/Engineering :: Physics',

0 commit comments

Comments
 (0)