Open pjgoodall opened 3 years ago
thanks for the ping @pjgoodall
I set up a recipe but it didn't work when I ran it locally. Perhaps I need to include something about requirements.txt in the recipe
Looks like you just need to add the requirements from your setup.py
to
requirements.run
:
requirements:
host:
- python
- pip
run:
- requests >=2.7
- etc.
Oh, one small problem, though: looks like geojson_rewind
and geomet
don't have conda packages available, so those would need to be published first.
@pjgoodall If you wanted to give that a try, there's a handy tool called grayskull that can grab package metadata from PyPI and generate a Conda recipe from it. It usually requires a bit of manual adjustment after that, but it does about 80% of the work for you.
Alternatively, you could probably get away with publishing pygbif without those dependencies, and do without the wkt_rewind
utils in the Conda version for now. It looks like those are optional features, right?
Thanks @JWCook will put this on my list. I need to learn how to do this anyway.
If/when you submit PRs for those, feel free to ping me if you run into any problems.
looks like geojson_rewind and geomet don't have conda packages available, so those would need to be published first.
Thanks, so I should wait for this, correct?
Right, there's nothing else to do until those dependencies are published.
thanks. ran again after adding deps to the meta file - and ran into the missing geojson_rewind
- so will wait for that
thanks. ran again after adding deps to the meta file - and ran into the missing
geojson_rewind
- so will wait for that
If I'm not mistaken, geojson_rewind
exist now as a conda package under the name geojson-rewind
here, Are you still planning on building pygbif
on conda ?
I would be happy to help but I'm still learning to do conda recepe on tools that needs pygbif
i no longer maintain this. @CecSve ?
Thank you - we will look into it!
The current publication of
pygbif
on the conda platform is nearly 5 years old. Can I encouragepygbif
to be published on conda-forge please? Recently python-dwca-reader was given an automated build onto conda-forge after a 7-year hiatus (many thanks to Jordan Cook).Please see: