-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
General: Rebuild setup.py -> pyproject.toml
- Loading branch information
1 parent
d7d93ca
commit 90f67ee
Showing
2 changed files
with
41 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "xrdpattern" | ||
version = "0.9.4" | ||
description = "Python library for XrdPatterns including file import, file export and postprocessing functionalities" | ||
readme = "README.md" | ||
authors = [{ name = "Daniel Hollarek", email = "[email protected]" }] | ||
license = { file = "LICENSE.txt" } | ||
urls = { Homepage = "https://github.com/aimat-lab/xrdpattern" } | ||
dependencies = [ | ||
"numpy < 2.0.0", | ||
"scipy", | ||
"matplotlib", | ||
"pymatgen", | ||
"torch", | ||
"gemmi", | ||
"holytools @ git+https://github.com/Somerandomguy10111/holytools", | ||
"pandas", | ||
"openpyxl", | ||
"tensordict", | ||
"seaborn", | ||
"ase" | ||
] | ||
|
||
[tool.setuptools] | ||
ext-modules = [{name = "_xylib",sources = ["xylib/philips_udf.cpp","xylib/uxd.cpp","xylib/winspec_spe.cpp","xylib/xrdml.cpp","xylib/xfit_xdd.cpp","xylib/cache.cpp","xylib/bruker_raw.cpp","xylib/spectra.cpp","xylib/riet7.cpp","xylib/csv.cpp","xylib/specsxy.cpp","xylib/bruker_spc.cpp","xylib/pdcif.cpp","xylib/canberra_mca.cpp","xylib/xylib.cpp","xylib/philips_raw.cpp","xylib/vamas.cpp","xylib/rigaku_dat.cpp","xylib/util.cpp","xylib/cpi.cpp","xylib/text.cpp","xylib/dbws.cpp","xylib/canberra_cnf.cpp","xylib/xsyg.cpp","xylib/chiplot.cpp", "xylib.i"],include-dirs = ["."],language = "c++",swig-opts = ["-c++"]}] | ||
py-modules = ["xylib"] | ||
|
||
|
||
[tool.setuptools.packages.find] | ||
include = ["xrdpattern*"] | ||
|
||
|
||
[tool.setuptools.package-data] | ||
"xrdpattern.crystal.atomic_constants" = ["*"] | ||
"xrdpattern.crystal.cifs" = ["*"] | ||
"xrdpattern.parsing.examples" = ["*"] | ||
"xrdpattern.tools" = ["*"] |