From 0655b8dfc5bc9ad6e4d9fa160128f11264bdf1a5 Mon Sep 17 00:00:00 2001 From: cylammarco Date: Wed, 26 Apr 2023 03:46:30 +0300 Subject: [PATCH] fixed wrong version name. Move conda recipes to the right directory. --- .github/workflows/publish-conda.yml | 25 ------------------------- meta.yaml => conda/meta.yaml | 10 +++++++++- setup.py | 2 +- 3 files changed, 10 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/publish-conda.yml rename meta.yaml => conda/meta.yaml (80%) diff --git a/.github/workflows/publish-conda.yml b/.github/workflows/publish-conda.yml deleted file mode 100644 index 52f6445..0000000 --- a/.github/workflows/publish-conda.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: publish_conda - -on: - release: - types: [published] - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - - name: Checkout - uses: actions/checkout@v2 - - - name: publish-to-conda - uses: amauryval/publish_conda_package_action@2.0.3 - with: - # CondaDir: locate the directory containing your meta.yml, conda_build_config.yaml (...) files - CondaDir: 'conda' - # Channels: You can add more channel with a space separator - Channels: 'conda-forge' - # Platforms: remove one or more of these platforms - Platforms: 'osx-64 linux-64 win-64 noarch' - CondaUsername: ${{ secrets.CONDA_USERNAME }} - CondaPassword: ${{ secrets.CONDA_PASSWORD }} \ No newline at end of file diff --git a/meta.yaml b/conda/meta.yaml similarity index 80% rename from meta.yaml rename to conda/meta.yaml index 344f828..7139e16 100644 --- a/meta.yaml +++ b/conda/meta.yaml @@ -9,7 +9,15 @@ source: path: ../ build: - noarch: python + script: python -m pip install . --no-deps -vv + python: + - 3.7 + - 3.8 + - 3.9 + - 3.10 + - 3.11 + target_platform: osx-64, win-64, linux-64 + target_subdir: "{platform}-{arch}" requirements: build: diff --git a/setup.py b/setup.py index a4b141f..b5c1ea1 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ name="spectresc", maintainer="Marco C Lam", maintainer_email="lam@mail.tau.ac.il", - version="1.0.0.rc2", + version="1.0.1", install_requires=[ 'numpy', ],