Skip to content

Commit

Permalink
bar
Browse files Browse the repository at this point in the history
  • Loading branch information
rosswhitfield committed Dec 13, 2023
1 parent f2936ae commit 79185af
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion SPECS/postprocessing.spec
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ Post-processing agent to automatically catalog and reduce neutron data

%install
%{python3} -m pip install --target %{buildroot}%{prefix} --no-deps .
mkdir -p %{buildroot}%%{prefix}/log
mv %{buildroot}%{prefix}/postprocessing/queueProcessor.py %{buildroot}%{prefix}
mkdir -p %{buildroot}%{prefix}/log
mkdir -p %{buildroot}%{site_packages}
echo %{prefix} > %{buildroot}%{site_packages}/postprocessing.pth
mkdir -p %{buildroot}/var/log/SNS_applications
Expand All @@ -42,5 +43,7 @@ mkdir -p %{buildroot}/var/log/SNS_applications
%doc README.md
%license LICENSE.rst
%{prefix}/*
%attr(755, -, -) %{prefix}/scripts
%attr(755, -, -) %{prefix}/queueProcessor.py
%{site_packages}/postprocessing.pth
/var/log/SNS_applications
3 changes: 2 additions & 1 deletion configuration/post_process_consumer.conf.development
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@
"dev_output_dir": "",
"reduction_data_ready": "REDUCTION.DATA_READY",
"communication_only": 0,
"max_procs": 5
"max_procs": 5,
"processors": ["reduction_processor.ReductionProcessor"]
}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ requires = [
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = ["postprocessing", "scripts"]
packages = ["postprocessing", "postprocessing.processors", "scripts"]

[tool.ruff]
line-length = 120
Expand Down

0 comments on commit 79185af

Please sign in to comment.