Package building for dummies...

24 views
Skip to first unread message

Skip Montanaro

unread,
Dec 1, 2016, 10:06:16 AM12/1/16
to PyData
I've never built a Conda package before. I'm trying to build a package from local source. Looking at the various instructions, I came across this very brief section in the meta.yaml documentation:


so dutifully defined my source section in datalayer/meta.yml like this:

source:
  fn: datalayer-0.0.1.tar.gz
  path: ../src

When I executed "conda build datalayer" from the parent directory, it told me about some stuff to it was going to install or update (fine), then:

Downloading source to cache: datalayer-0.0.1.tar.gz
Traceback ...
...
  if not isinstance(meta['url'], list):
KeyError, 'url'

I'm clearly missing something fundamental about the whole process. I thought I was supposed to be able to use a local source directory instead of needing a remote URL. And isn't datalayer-0.0.1.tar.gz supposed to be the output of my process, not one of the inputs?

Thx...

Skip Montanaro

unread,
Dec 1, 2016, 10:08:19 AM12/1/16
to PyData
Crap... My apologies. Thought I was posting to the conda group. (Obviously not enough caffeine in the system yet.)
Reply all
Reply to author
Forward
0 new messages