diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml new file mode 100644 index 0000000..9cc47cb --- /dev/null +++ b/.github/workflows/conda.yml @@ -0,0 +1,18 @@ +name: main + +on: + release: + types: [published] + +jobs: + # Direct upload to conda + conda: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: publish-to-conda + uses: fcakyon/conda-publish-action@v1.3 + with: + subdir: "conda" + anacondatoken: ${{ secrets.ANACONDA_TOKEN }} + platforms: "osx linux" \ No newline at end of file diff --git a/conda/meta.yaml b/conda/meta.yaml index 752b780..92e851e 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -1,43 +1,30 @@ -{% set name = "eFISHent" %} -{% set version = "0.0.1" %} - package: - name: {{ name|lower }} - version: {{ version }} - + name: "eFISHent" + version: 0.0.3 source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/eFISHent-{{ version }}.tar.gz - sha256: 6c10f608b078a8085dabaf2f8e58c62499fe6afd1aa7536fbdb2050cb34ff601 + path: .. build: - number: 0 - noarch: python - script: {{ PYTHON }} -m pip install . -vv - entry_points: - - efishent = eFISHent.cli:main - - eFISHent = eFISHent.cli:main + build: 1 + preserve_egg_dir: True + script: python -m pip install --ignore-installed . + entry_points: + - efishent = eFISHent.cli:main + - eFISHent = eFISHent.cli:main requirements: host: - pip - - python >=3.7 + - python >=3.8 - llvm-openmp # [osx] run: - - biopython - blast - bowtie - entrez-direct - - gtfparse - jellyfish - libgomp # [linux] - llvm-openmp # [osx] - - luigi - - matplotlib-base - - numpy - - pandas - - pyarrow - - pyomo - - python >=3.7 + - python >=3.8 test: commands: