-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FRED2 as a conda package #11469
FRED2 as a conda package #11469
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#Patch away the install requires, we're getting these through conda directly | ||
sed -i 's/install_requires/#install_requires/g' setup.py | ||
$PYTHON setup.py install |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{% set name = "fred" %} | ||
{% set version = "2.0.2" %} | ||
{% set sha256 = "223f139b35357e25d98644eb2668b9140f1489f4befd1e337a83fa6253cc0d54" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/FRED-2/Fred2/archive/{{ version }}.tar.gz | ||
sha256: '{{ sha256 }}' | ||
|
||
build: | ||
noarch: python | ||
number: 0 | ||
skip: True # [not py27] | ||
|
||
requirements: | ||
host: | ||
- python | ||
- setuptools | ||
- pyomo | ||
- pandas | ||
- pyvcf | ||
- biopython | ||
- mysql-python | ||
run: | ||
- python | ||
- setuptools | ||
- pyomo | ||
- pandas | ||
- pyvcf | ||
- biopython | ||
- mysql-python | ||
|
||
test: | ||
commands: | ||
- python -c "from Fred2.Core import Allele, Peptide, Protein,generate_peptides_from_proteins" | ||
|
||
about: | ||
home: http://nf-co.re/ | ||
license: MIT | ||
summary: 'Python package with helper tools for the nf-core community.' | ||
|
||
extra: | ||
container: | ||
# click requires a unicode locale when used with Python 3 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But you are not using click here isn't it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Whoops, thats a relict of my template. I'll remove it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed it, renamed the package as well to fred2 |
||
# extended-base generates en_US.UTF-8 locale and sets LC_ALL, LANG properly | ||
extended-base: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should that be fred2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, could be - should I rename it ?