Skip to content

Commit 38fe282

Browse files
committed
Convert setup.py into more modern pyproject.toml
1 parent b87b3c8 commit 38fe282

File tree

2 files changed

+50
-39
lines changed

2 files changed

+50
-39
lines changed

pyproject.toml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
[build-system]
2+
requires = ["setuptools >= 75.3.2"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "modularitypruning"
7+
version = "1.4.1"
8+
description = """Pruning tool to identify small subsets of network partitions that are significant from the perspective
9+
of stochastic block model inference."""
10+
readme = "README.md"
11+
requires-python = ">=3.8"
12+
license = { text = "MIT" }
13+
authors = [
14+
{ name = "Ryan Gibson", email = "[email protected]" }
15+
]
16+
17+
classifiers = [
18+
"Development Status :: 5 - Production/Stable",
19+
"Topic :: Scientific/Engineering :: Information Analysis",
20+
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.8",
22+
"Programming Language :: Python :: 3.9",
23+
"Programming Language :: Python :: 3.10",
24+
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
26+
"Programming Language :: Python :: 3.13",
27+
"Programming Language :: Python :: 3 :: Only",
28+
"License :: OSI Approved :: MIT License"
29+
]
30+
31+
dependencies = [
32+
"leidenalg",
33+
"matplotlib",
34+
"numpy",
35+
"psutil",
36+
"igraph",
37+
"scikit-learn",
38+
"scipy>=1.7",
39+
"seaborn",
40+
"tqdm"
41+
]
42+
43+
[project.urls]
44+
Homepage = "https://github.com/ragibson/ModularityPruning"
45+
46+
[tool.setuptools.packages.find]
47+
include = ["modularitypruning"]
48+
49+
[tool.setuptools.package-dir]
50+
modularitypruning = "utilities"

setup.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

0 commit comments

Comments
 (0)