diff --git a/conda-recipe/bld.bat b/conda-recipe/bld.bat deleted file mode 100644 index 65bb32b3..00000000 --- a/conda-recipe/bld.bat +++ /dev/null @@ -1,17 +0,0 @@ -%PYTHON% -m easy_install --no-deps . -if errorlevel 1 exit 1 - -:: Add more build steps here, if they are necessary. - -set MENU_DIR=%PREFIX%\Menu -if not exist (%MENU_DIR%) mkdir %MENU_DIR% - -cd %RECIPE_DIR% -%PYTHON% expandpdfguibase.py menu-windows.json > %MENU_DIR%\menu-windows.json -if errorlevel 1 exit 1 - -copy pdfgui.ico %MENU_DIR%\ -if errorlevel 1 exit 1 - -:: See http://docs.continuum.io/conda/build.html -:: for a list of environment variables that are set during the build process. diff --git a/conda-recipe/build.sh b/conda-recipe/build.sh deleted file mode 100644 index 1f9526d3..00000000 --- a/conda-recipe/build.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -$PYTHON -m easy_install --no-deps . - -# Add more build steps here, if they are necessary. - -# See http://docs.continuum.io/conda/build.html -# for a list of environment variables that are set during the build process. diff --git a/conda-recipe/conda_build_config.yaml b/conda-recipe/conda_build_config.yaml deleted file mode 100644 index c933d898..00000000 --- a/conda-recipe/conda_build_config.yaml +++ /dev/null @@ -1,7 +0,0 @@ -python: - - 3.11 - - 3.10 - - 3.9 - - 3.8 - - 3.7 - - 2.7 diff --git a/conda-recipe/dont_run.py b/conda-recipe/dont_run.py deleted file mode 100644 index a2a69494..00000000 --- a/conda-recipe/dont_run.py +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env python - -import diffpy.pdfgui.tests - -assert diffpy.pdfgui.tests.testdeps().wasSuccessful() diff --git a/conda-recipe/expandpdfguibase.py b/conda-recipe/expandpdfguibase.py deleted file mode 100644 index 84381557..00000000 --- a/conda-recipe/expandpdfguibase.py +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env python - -import sys - -from pkg_resources import Requirement, resource_filename - -pkg = Requirement.parse("diffpy.pdfgui") -PDFGUIPATH = resource_filename(pkg, "") -assert PDFGUIPATH.lower().startswith(sys.prefix.lower()) -PDFGUIBASE = PDFGUIPATH[len(sys.prefix) :].replace("\\", "/").strip("/") - -if __name__ == "__main__": - with open(sys.argv[1]) as fp: - content = fp.read() - output = content.replace("@PDFGUIBASE@", PDFGUIBASE) - sys.stdout.write(output) diff --git a/conda-recipe/menu-windows.json b/conda-recipe/menu-windows.json deleted file mode 100644 index d2cea178..00000000 --- a/conda-recipe/menu-windows.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "menu_name" : "DiffPy", - "menu_items" : - [ - { - "name" : "PDFgui", - "pywscript" : "${PYTHON_SCRIPTS}/pdfgui-script.pyw", - "workdir" : "${PERSONALDIR}", - "icon" : "${MENU_DIR}/pdfgui.ico", - "desktop" : true - }, - { - "name" : "PDFgui Manual", - "webbrowser" : "${PREFIX}/@PDFGUIBASE@/doc/manual/pdfgui.html" - }, - { - "name" : "PDFgui Tutorial Files", - "webbrowser" : "${PREFIX}/@PDFGUIBASE@/doc/tutorial" - }, - { - "name" : "PDFgui Reference Paper", - "webbrowser" : "${PREFIX}/@PDFGUIBASE@/doc/Farrow-jpcm-2007.pdf" - } - ] -} diff --git a/conda-recipe/meta.suppress_yaml b/conda-recipe/meta.suppress_yaml deleted file mode 100644 index 568d0c7d..00000000 --- a/conda-recipe/meta.suppress_yaml +++ /dev/null @@ -1,71 +0,0 @@ -{% set setupdata = load_setup_py_data() %} - -package: - name: diffpy.pdfgui - version: {{ setupdata['version'] }} - -source: - # git_url: https://github.com/diffpy/diffpy.pdfgui.git - git_url: .. - -build: - preserve_egg_dir: True - - # If this is a new build for the same version, increment the build - # number. If you do not include this key, it defaults to 0. - number: 0 - - entry_points: - - pdfgui = diffpy.pdfgui.applications.pdfgui:main - - osx_is_app: True - -app: - entry: pdfgui [not win] - entry: pythonw -m diffpy.pdfgui.applications.pdfgui [win] - icon: pdfgui_64x64.png - summary: materials structure analysis from Pair Distribution Function - -requirements: - host: - - python {{ python }} - - pip - - setuptools - - run: - - python - - setuptools - - six - - matplotlib - - wxpython 4.* - - menuinst [win] - - diffpy.pdffit2 - - diffpy.structure >=3 - - diffpy.utils - -test: - # Python imports - imports: - - diffpy.pdfgui.tui - - diffpy.pdfgui.tests - - # commands: - # You can put test commands to be run here. Use this to test that the - # entry points work. - - - # You can also put a file called dont_run.py in the recipe that will be run - # at test time. - - # requires: - # Put any additional test requirements here. For example - # - nose - -about: - home: https://github.com/diffpy/diffpy.pdfgui - summary: GUI for PDF simulation and structure refinement - license: Modified BSD License - license_file: LICENSE.txt - -# See http://docs.continuum.io/conda/build.html -# for more information about meta.yaml. diff --git a/conda-recipe/pdfgui.ico b/conda-recipe/pdfgui.ico deleted file mode 100644 index 7c26d10c..00000000 Binary files a/conda-recipe/pdfgui.ico and /dev/null differ diff --git a/conda-recipe/pdfgui_64x64.png b/conda-recipe/pdfgui_64x64.png deleted file mode 100644 index 34312b4c..00000000 Binary files a/conda-recipe/pdfgui_64x64.png and /dev/null differ diff --git a/news/conda-recipe.rst b/news/conda-recipe.rst new file mode 100644 index 00000000..3e7b8aaf --- /dev/null +++ b/news/conda-recipe.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* remove conda-recipe folder - feedstock repo has the latest version + +**Security:** + +*