Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move python files to proper directories #47

Closed
wants to merge 28 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
8637aff
Move edps workflows to proper directory
hugobuddel Oct 13, 2024
8415f98
Move recipes to proper pyrecipes folder
hugobuddel Oct 13, 2024
66595b4
Move python files to pymetis
hugobuddel Oct 13, 2024
9e606e9
Add python support to configure.ac
hugobuddel Oct 13, 2024
1619bbf
Add CMakeLists based on iiinstrument-dev-pymodules branch
hugobuddel Oct 13, 2024
3dc89c7
Add cmake directory based on iiinstrument-dev-pymodules
hugobuddel Oct 13, 2024
937ca12
Move python code to src directory
hugobuddel Oct 13, 2024
ef37dad
Add pymetis setup files based on iiinstrument-dev-pymodules
hugobuddel Oct 13, 2024
3884f63
Add python.am copied from iiinstrument-dev-pymodules
hugobuddel Oct 13, 2024
d4bddcc
Add pyrecipes CMakeLists.txt and Makefile.am
hugobuddel Oct 13, 2024
318d06e
Update Makefile.am based on iiinstrument-dev-pythonmodules
hugobuddel Oct 13, 2024
3c1f25a
Add CMakeLists.txt for C-metis and C-recipes
hugobuddel Oct 13, 2024
99cd6bd
Add setup.cfg
hugobuddel Oct 13, 2024
e12342a
Oops, forgot some iiinstruments
hugobuddel Oct 13, 2024
face45b
Another IIINSTRUMENTS
hugobuddel Oct 13, 2024
f48374f
Another iiinstrument
hugobuddel Oct 13, 2024
96de044
Two more IIINSTRUMENTS
hugobuddel Oct 13, 2024
f5a2874
Another IIINSTRUMENT
hugobuddel Oct 13, 2024
555381e
Properly name the module pymetis instead of pyiiinstrument
hugobuddel Oct 13, 2024
36a6034
Move pymetis files again into pymetis/src/pymetis
hugobuddel Oct 13, 2024
f5254ee
Rename prototypes -> pymetis
hugobuddel Oct 13, 2024
91117d0
Include pymetis.mixins package
hugobuddel Oct 13, 2024
e8d8dfc
setup.cfg is generated automatically
hugobuddel Oct 13, 2024
37dca32
Use metis_ifu_distortion name
hugobuddel Oct 13, 2024
be59545
'fix' Makefile
hugobuddel Oct 13, 2024
117b121
Rename prototypes -> pymetis
hugobuddel Oct 13, 2024
d590e7f
Move recipes to pymetis package
hugobuddel Oct 15, 2024
4552f1e
Add metis_recipes.py that imports everything
hugobuddel Oct 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add pyrecipes CMakeLists.txt and Makefile.am
hugobuddel committed Oct 13, 2024
commit d4bddcc00dbd56d8b6aa6ab45a9add1bf35ccebf
31 changes: 31 additions & 0 deletions metisp/pyrecipes/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This file is part of the ESO IIINSTRUMENT Pipeline
# Copyright (C) 2001-2024 European Southern Observatory
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

set(recipe_SOURCES
metis_det_lingain.py
img/metis_lm_basic_reduction.py
img/metis_n_img_flat.py
img/metis_lm_img_flat.py
ifu/metis_ifu_calibrate.py
ifu/metis_ifu_distortion.py
ifu/metis_ifu_telluric.py
ifu/metis_ifu_reduce.py
ifu/metis_ifu_postprocess.py
metis_det_dark.py)

install(FILES ${recipe_SOURCES}
DESTINATION ${PACKAGE_RECIPE_DIR}/${PACKAGE_NAME}-${PACKAGE_VERSION}
)
33 changes: 33 additions & 0 deletions metisp/pyrecipes/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## Process this file with automake to produce Makefile.in

## This file is part of the IIINSTRUMENT Pipeline
## Copyright (C) 2002-2017 European Southern Observatory

## This library is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.

## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.

## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

AUTOMAKE_OPTIONS = 1.8 foreign

DISTCLEANFILES = *~


if MAINTAINER_MODE

MAINTAINERCLEANFILES = Makefile.in

endif


plugin_DATA = metis_det_lingain.py img/metis_lm_basic_reduction.py img/metis_n_img_flat.py img/metis_lm_img_flat.py ifu/metis_ifu_calibrate.py ifu/metis_ifu_distortion.py ifu/metis_ifu_telluric.py ifu/metis_ifu_reduce.py ifu/metis_ifu_postprocess.py metis_det_dark.py