PeterC
2016-03-27 22:03:53 UTC
I am new to conda packaging and still trying to fully understand how to use
it.
I have a conda built package with a dependency on logstash_formatter. I am
working on creating a conda package version of logstash_formatter so that
the dependency can be fulfilled by conda (as an aside, this is currently
failing and I've filed an issue with conda-build (#851)).
However, along the way I noticed that when I install directly from the
*.bz2 file using
conda install -n porttoy_0_0_2 .\porttoy-0.0.2-py35_0.tar.bz2
The porttoy package is installed without any warning or issues. However,
when I import the package and attempt to run it, it will fail to run
because the logstash_formatter dependency was not installed (until I get
the conda package built for it you have to pip install it).
When I install the same package via a channel search into my conda-build
local packages (--use-local) as in:
conda install porttoy --use-local --override-channels
I get an appropriate warning that the dependency on logstash is failing:
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ..
Solving package specifications: .
Error: Dependency missing in current win-64 channels:
- porttoy -> logstash_formatter
Is this an issue conda install or my meta.yaml?
Here is the meta.yaml
package:
name: porttoy
version: "0.0.2"
source:
path: .
build:
script:
- pip install logstash_formatter
- python setup.py install
requirements:
build:
- python
- setuptools
- cython
- numpy
- logstash_formatter
requirements:
run:
- python
- numpy
- logstash_formatter
it.
I have a conda built package with a dependency on logstash_formatter. I am
working on creating a conda package version of logstash_formatter so that
the dependency can be fulfilled by conda (as an aside, this is currently
failing and I've filed an issue with conda-build (#851)).
However, along the way I noticed that when I install directly from the
*.bz2 file using
conda install -n porttoy_0_0_2 .\porttoy-0.0.2-py35_0.tar.bz2
The porttoy package is installed without any warning or issues. However,
when I import the package and attempt to run it, it will fail to run
because the logstash_formatter dependency was not installed (until I get
the conda package built for it you have to pip install it).
When I install the same package via a channel search into my conda-build
local packages (--use-local) as in:
conda install porttoy --use-local --override-channels
I get an appropriate warning that the dependency on logstash is failing:
Using Anaconda Cloud api site https://api.anaconda.org
Fetching package metadata: ..
Solving package specifications: .
Error: Dependency missing in current win-64 channels:
- porttoy -> logstash_formatter
Is this an issue conda install or my meta.yaml?
Here is the meta.yaml
package:
name: porttoy
version: "0.0.2"
source:
path: .
build:
script:
- pip install logstash_formatter
- python setup.py install
requirements:
build:
- python
- setuptools
- cython
- numpy
- logstash_formatter
requirements:
run:
- python
- numpy
- logstash_formatter
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.