Closed ravinpoudel closed 3 years ago
Can you add this command in too?
conda config --add channels gagan3012
Following is my meta.yml
file for Bioconda recipe. Should I pass the channel info after the script section?
{% set version = "0.2.0" %}
{% set name = "GuideMaker" %}
{% set sha256 = "c9cb6e35844209259159ee0530390d837748678538b6a9ed7e71645ba51d57be" %}
{% set user = "USDA-ARS-GBRU" %}
package:
name: '{{ name|lower }}'
version: '{{ version }}'
source:
url: https://github.com/{{ user }}/{{ name }}/archive/v{{ version }}.tar.gz
sha256: {{ sha256 }}
build:
number: 1
noarch: python
entry_points:
- guidemaker=guidemaker.cli:main
script: python -m pip install --no-deps --ignore-installed .
requirements:
host:
- pip
- python >=3.6
- biopython==1.76
run:
- pip
- python >=3.6
- biopython==1.76
- biopython==1.76
- numpy >=1.13
- pybedtools==0.8.2
- nmslib>=2.0.6
- pandas>=1.0.0
- pyyaml>=5.4.1
- regex==2020.11.13
- altair
- streamlit>0.80.0
- pytest>=4.6
- pytest-cov
- streamlit-tags>=1.1.9
- pdoc3
test:
commands:
- {{ name }} --version | grep '{{ version }}'
- {{ name }} --help
about:
home: https://github.com/USDA-ARS-GBRU/GuideMaker
license: 'CC0 1.0'
license_family: 'PUBLIC-DOMAIN'
license_file: LICENSE.txt
summary: 'GuideMaker: Software to design gRNAs pools in non-model genomes and CRISPR-Cas systems'
extra:
recipe-maintainers:
- arivers
- ravinpoudel
identifiers:
- biotools:GuideMaker
- doi:10.5281/zenodo.4849258
Is it possible to put streamlit-tags on Conda-forge channel? Following is the text from bioconda. https://bioconda.github.io/contributor/guidelines.html
There is currently no mechanism to define, in the meta.yaml file, that a particular dependency should come from a particular channel. This means that a recipe must have its dependencies in one of the following:
I have already created a PR for it waiting for their response
Thanks. I will send my PR after streamlit-tags became available at Conda-forge
Any updates on your PR?
Should I be using following to install now?
conda install -c conda-forge streamlit-tags
Yes once the pr is merged
Hello, Streamlit_tags is on conda forge
conda install -c conda-forge streamlit_tags
Thanks @gagan3012
However, I am still getting the following error. Appreciate any suggestion and help.
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform linux-64: {"streamlit-tags[version='>=1.2.6']"}
My setup.py looks as following:
"""setup.py: python package setup for GuideMaker
"""
from setuptools import setup
import versioneer
requirements = [
# package requirements go here
'biopython==1.76',
'numpy >=1.13',
'pybedtools==0.8.2',
'nmslib>=2.0.6', # note 2.1.1 does not pass the build in ubuntu
'pandas>=1.0.0',
'pyyaml>=5.4.1',
'regex==2020.11.13',
'altair',
'streamlit>0.80.0',
'pytest>=4.6',
'pytest-cov',
'streamlit-tags>=1.2.6',
'pdoc3'
]
setup(
name='guidemaker',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='GuideMaker: Software to design gRNAs pools in non-model genomes and CRISPR-Cas',
license='CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
author='Adam Rivers',
author_email='adam.rivers@usda.gov',
url='http://tinyecology.com',
long_description=open('README.md').read(),
packages=['guidemaker'],
entry_points={
'console_scripts': [
'guidemaker=guidemaker.cli:main'
]
},
install_requires=requirements,
python_requires='>=3.6',
test_suite='pytest',
tests_require=['pytest'],
keywords='CRISPR-Cas',
include_package_data=True,
zip_safe=False,
classifiers=[
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Development Status :: 3 - Alpha'
]
)
I see I think if you rename it to streamlit_tags it should be fixed
Thanks!!!
I am planning to submit a package to bioconda, which failing and got the following error. Any suggestion on how to fix it?