Closed AaronDavidSchneider closed 3 years ago
This is a recipe that I just created with grayskull:
{% set name = "bibmanager" %}
{% set version = "1.3.2" %}
package:
name: {{ name|lower }}
version: {{ version }}
source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/bibmanager-{{ version }}.tar.gz
sha256: cc3f31fa5827cfcb8a57def8334b6b7aa7cfb4d4836fc24afa36094172f23f06
build:
number: 0
noarch: python
entry_points:
- bibm = bibmanager.__main__:main
script: {{ PYTHON }} -m pip install . -vv
requirements:
host:
- pip
- python
run:
- numpy >=1.15.1
- packaging >=17.1
- prompt-toolkit >=3.0.5
- pygments >=2.2.0
- python
- requests >=2.19.1
test:
imports:
- bibmanager
- bibmanager.ads_manager
commands:
- pip check
- bibm --help
requires:
- pip
about:
home: https://github.com/pcubillos/bibmanager
summary: A BibTeX manager for LaTeX projects
license: MIT
license_file: LICENSE
extra:
recipe-maintainers:
- pcubillos
This sounds great! I'll take a look. Thanks a lot!
Hi Aaron! OK, the code can be installed now from conda-forge:
conda install -c conda-forge bibmanager
Setting up conda has been something that I've tried for long for my packages, so, this is a really great contribution! Do you mind if I add you to the list of contributors in the docs?
Sure, I am glad I could help! Thank you for bibmanager! It is such a helpful tool!
Also, a question, have you done set up conda packages yourself? Because I'm not sure what's next after the conda feedstock repo has been created, do I need to update every time I release a new version? I'm guessing there must be a way to automate that from github/pypi, but I don't realy know.
I have a package on forge. Whenever there is a new version on pypi you will receive an automated PR on the feedstock (might take a few hours until the bot creates the PR). You can then simply merge this PR when all tests completed. You will get notified about these PRs.
I think the readme of the feedstock explains it quite well: https://github.com/conda-forge/bibmanager-feedstock
Hi,
since some people prefer conda over pip, what do you think about packaging it for anaconda? Packaging a pypi project for anaconda is actually quite simple and well explained: https://github.com/conda-forge/staged-recipes. The conda forge bot will even automatically update the recipe once there is a new version on pypi.