From 2cdffd4fc4a78783f6467038828f4c9d3d36fed7 Mon Sep 17 00:00:00 2001 From: Luis Paulin Date: Wed, 10 Apr 2024 13:12:18 -0600 Subject: [PATCH] utils directory is moved to sniffles/ utils is a common name for a directory so it could be the case another applications has same directory and I am not sure what conda is going to do. edlib and psutil have been moved to required dependencies --- setup.cfg | 11 ++--------- src/sniffles/sniffles | 2 +- src/{ => sniffles}/utils/__init__.py | 0 src/{ => sniffles}/utils/resmon.py | 0 4 files changed, 3 insertions(+), 10 deletions(-) rename src/{ => sniffles}/utils/__init__.py (100%) rename src/{ => sniffles}/utils/resmon.py (100%) diff --git a/setup.cfg b/setup.cfg index f90eb3c..3c6e1b8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -21,17 +21,10 @@ packages = find: python_requires = >=3.10 install_requires: pysam>=0.21.0 -scripts: - src/sniffles/sniffles - -[options.extras_require] -align = - edlib>=1.3.9 -mem = - psutil>=5.9.4 -all = edlib>=1.3.9 psutil>=5.9.4 +scripts: + src/sniffles/sniffles [options.packages.find] where = src diff --git a/src/sniffles/sniffles b/src/sniffles/sniffles index 9bfb485..6b1c420 100755 --- a/src/sniffles/sniffles +++ b/src/sniffles/sniffles @@ -12,7 +12,7 @@ import logging import logging.config from typing import Optional -from utils.resmon import ResourceMonitor +from sniffles.utils.resmon import ResourceMonitor DEV_MONITOR_MEM = False diff --git a/src/utils/__init__.py b/src/sniffles/utils/__init__.py similarity index 100% rename from src/utils/__init__.py rename to src/sniffles/utils/__init__.py diff --git a/src/utils/resmon.py b/src/sniffles/utils/resmon.py similarity index 100% rename from src/utils/resmon.py rename to src/sniffles/utils/resmon.py