-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (55 loc) · 1.28 KB
/
pyproject.toml
File metadata and controls
61 lines (55 loc) · 1.28 KB
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
[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "pycpet"
version = "0.0.7"
authors = [
{ name="Pujan Ajmera", email="ajmerapujan@gmail.com" },
]
description = "Computing Electric Field Topologies and Other Features in High-Throughput"
readme = "README.md"
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
license = "MIT"
license-files = ["LICEN[CS]E*"]
dependencies = [
"torch",
"numba",
"numpy<2",
"pandas",
"scikit-learn",
"kneed",
"tensorly",
"matplotlib",
"tqdm",
"seaborn",
"scikit-learn-extra",
"psutil"
]
[project.urls]
Homepage = "https://github.com/pujanajmera/pycpet"
Issues = "https://github.com/pujanajmera/pycpet/issues"
[project.scripts]
"cpet.py" = "CPET.source.scripts.cpet:main"
[tool.setuptools]
packages = [
"CPET",
"CPET.utils",
"CPET.source",
"CPET.source.scripts"
]
[[tool.setuptools.ext-modules]]
name = "CPET.utils.math_module" # import path
sources = ["CPET/utils/math_module.c"]
# compiler flags (gcc -O3 -march=native -funroll-loops -ffast-math -fPIC -fopenmp …)
extra-compile-args = [
"-O3",
"-march=native",
"-funroll-loops",
"-ffast-math",
"-fPIC",
]