Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda package entry point #3

Closed
kbrindley opened this issue Oct 11, 2024 · 3 comments
Closed

conda package entry point #3

kbrindley opened this issue Oct 11, 2024 · 3 comments

Comments

@kbrindley
Copy link
Contributor

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
Copy link
Member

Sounds good - can you open a pull request?

@kbrindley
Copy link
Contributor Author

I can open a PR next week.

@kbrindley
Copy link
Contributor Author

kbrindley commented Oct 16, 2024

closed in #5. closing.

edit @jan-janssen I can't close.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants