From 6b0e96bf97df3e28a83cf87e90c5541a3936f06b Mon Sep 17 00:00:00 2001 From: Chilipp Date: Mon, 3 Apr 2017 15:38:14 +0200 Subject: [PATCH] Moved recipe to psyplot-conda repository --- ci/enhance_recipe.py | 16 ---------------- recipe/meta.template | 33 --------------------------------- 2 files changed, 49 deletions(-) delete mode 100644 ci/enhance_recipe.py delete mode 100644 recipe/meta.template diff --git a/ci/enhance_recipe.py b/ci/enhance_recipe.py deleted file mode 100644 index 1316989..0000000 --- a/ci/enhance_recipe.py +++ /dev/null @@ -1,16 +0,0 @@ -"""Add the missing informations to the conda recipe -""" -import os -import os.path as osp - -with open(osp.join('recipe', 'meta.template')) as f: - s = f.read() - -with open(osp.join('psy_simple', 'version.py')) as f: - exec(f.read()) - -s = s.replace('VERSION', __version__) -s = s.replace('PWD', os.getcwd()) - -with open(osp.join('recipe', 'meta.yaml'), 'w') as f: - f.write(s) diff --git a/recipe/meta.template b/recipe/meta.template deleted file mode 100644 index 4958b08..0000000 --- a/recipe/meta.template +++ /dev/null @@ -1,33 +0,0 @@ -# template for psy-simple recipe. Please change ``PWD`` and ``VERSION`` to the -# correct path and version number. See also ci/enhance_recipe.py -package: - name: psy-simple - version: VERSION - -source: - fn: psy-simple-VERSION.tar.gz - url: file://PWD/dist/psy-simple-VERSION.tar.gz - -build: - script: python setup.py install --single-version-externally-managed --record record.txt - -requirements: - build: - - python - - setuptools - run: - - python - - setuptools - - psyplot - -test: - imports: - - psy_simple -about: - home: https://github.com/Chilipp/psy-simple - license: GNU General Public License v2 (GPLv2) - summary: 'Psyplot plugin for simple visualization tasks' - license_family: GPL2 - license_file: LICENSE - doc_url: http://psyplot.readthedocs.io/projects/psy-simple - dev_url: https://github.com/Chilipp/psy-simple