conda-forge / ccx2paraview-feedstock

A conda-smithy repository for ccx2paraview.
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

conda package entry point #3

Closed kbrindley closed 1 week ago

kbrindley commented 2 weeks ago

You can create a Conda package executable that installs on PATH if you add an entry point: https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#python-entry-points. Then users don't need to find the source file to run the project.

recipe.yaml

build:
  entry_points:
    - ccx2paraview = ccx2paraview.ccx2paraview:main
jan-janssen commented 2 weeks ago

Sounds good - can you open a pull request?

kbrindley commented 2 weeks ago

I can open a PR next week.

kbrindley commented 1 week ago

closed in https://github.com/conda-forge/ccx2paraview-feedstock/pull/5. closing.

edit @jan-janssen I can't close.