Skip to content

Commit

Permalink
Switch to pyproject.toml and remove some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
HenningSE committed May 31, 2023
1 parent a6bd8d1 commit d245baf
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 36 deletions.
1 change: 0 additions & 1 deletion fuse/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import cutax
import straxen
import fuse
import os
import numpy as np

from straxen import URLConfig
Expand Down
2 changes: 0 additions & 2 deletions fuse/plugins/detector_physics/csv_input.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import strax
import straxen
import os
import numba
import logging

import pandas as pd
Expand Down
1 change: 0 additions & 1 deletion fuse/plugins/detector_physics/electron_drift.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import strax
import numpy as np
import straxen
import os
import logging

export, __all__ = strax.exporter()
Expand Down
1 change: 0 additions & 1 deletion fuse/plugins/detector_physics/electron_extraction.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import strax
import straxen
import numpy as np
import os
import logging

export, __all__ = strax.exporter()
Expand Down
1 change: 0 additions & 1 deletion fuse/plugins/detector_physics/electron_timing.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import strax
import numpy as np
import straxen
import os
import logging

export, __all__ = strax.exporter()
Expand Down
1 change: 0 additions & 1 deletion fuse/plugins/detector_physics/s2_photon_propagation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import strax
import straxen
import numpy as np
import os
import logging

from numba import njit
Expand Down
2 changes: 0 additions & 2 deletions fuse/plugins/detector_physics/secondary_scintillation.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import strax
import numpy as np
import straxen
from copy import deepcopy
import os
import logging

export, __all__ = strax.exporter()
Expand Down
1 change: 0 additions & 1 deletion fuse/plugins/micro_physics/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import straxen
import uproot
import os
import numba
import logging

import pandas as pd
Expand Down
1 change: 0 additions & 1 deletion fuse/plugins/pmt_and_daq/pmt_afterpulses.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import strax
import numpy as np
import straxen
import os
import logging

export, __all__ = strax.exporter()
Expand Down
1 change: 0 additions & 1 deletion fuse/plugins/pmt_and_daq/pmt_response_and_daq.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from immutabledict import immutabledict
import straxen
import strax
import os
from numba import njit
import numpy as np
import logging
Expand Down
43 changes: 43 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[project]
name = "XENONfuse"
version = "0.0.0"
description = "XENON Framework for Unified Simulations of Events"
authors = [
{ name = "Henning Schulze Eißing", email = "[email protected]" },
]
readme = "README.md"
requires-python = ">=3.6"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Natural Language :: English",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics"
]
dependencies = [
"numpy",
"scipy",
"numba",
"awkward",
"strax",
"straxen",
"copy",
"cutax",
"itertools",
"logging",
"sklearn",
"pandas",
"os",
"uproot",
"pickle",
"nestpy",
"immutabledict",
]

[project.urls]
"Homepage" = "https://github.com/XENONnT/fuse"
"Bug Tracker" = "https://github.com/XENONnT/fuse/issues"
24 changes: 0 additions & 24 deletions setup.py

This file was deleted.

0 comments on commit d245baf

Please sign in to comment.