I'm trying to build a conda pacakge form a somethign pip installable, but am getting this error:
$ conda skeleton pypi Webhelpers2
Webhelpers2 not found, trying Webhelpers2
Downloading WebHelpers2 (use --no-download to skip this step)
Using cached download
Unpacking WebHelpers2...
done
working in /var/folders/7t/137hx7xn4s1fdqvjj1bhtdhskm0vyc/T/tmpbowCkDconda_skeleton_WebHelpers2-2.0.tar.gz
Fetching package metadata: .....
WARNING: conda-build appears to be out of date. You have version 1.9.1 but the
latest version is 1.10.2. Run
conda update -n root conda-build
to get the latest version.
Solving package specifications: .
Applying patch: '/var/folders/7t/137hx7xn4s1fdqvjj1bhtdhskm0vyc/T/tmpbowCkDconda_skeleton_WebHelpers2-2.0.tar.gz/pypi-distutils.patch'
patching file core.py
Hunk #1 succeeded at 169 with fuzz 2 (offset 2 lines).
An unexpected error has occurred, please consider sending the
following traceback to the conda GitHub issue tracker at:
Include the output of the command 'conda info' in your report.
Traceback (most recent call last):
File "/Users/chris.barker/anaconda/bin/conda-skeleton", line 5, in <module>
sys.exit(main())
File "/Users/chris.barker/anaconda/lib/python2.7/site-packages/conda_build/main_skeleton.py", line 131, in main
args_func(args, p)
File "/Users/chris.barker/anaconda/lib/python2.7/site-packages/conda_build/main_build.py", line 312, in args_func
args.func(args, p)
File "/Users/chris.barker/anaconda/lib/python2.7/site-packages/conda_build/main_skeleton.py", line 142, in execute
pypi.main(args, parser)
File "/Users/chris.barker/anaconda/lib/python2.7/site-packages/conda_build/pypi.py", line 372, in main
get_package_metadata(args, package, d, data)
File "/Users/chris.barker/anaconda/lib/python2.7/site-packages/conda_build/pypi.py", line 515, in get_package_metadata
for dep in deptext.split('\n'):
AttributeError: 'list' object has no attribute 'split
**********
conda info here:
$ conda info
Current conda install:
platform : osx-64
conda version : 3.8.3
conda-build version : 1.9.1
python version : 2.7.9.final.0
requests version : 2.5.1
root environment : /Users/chris.barker/anaconda (writable)
default environment : /Users/chris.barker/anaconda/envs/py_gnome
envs directories : /Users/chris.barker/anaconda/envs
package cache : /Users/chris.barker/anaconda/pkgs
config file : /Users/chris.barker/.condarc
is foreign system : False
No time to dig deeper now - but maybe a simple bug?
-Chris
--