-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
PyPI entry point #43
Comments
related: conda-forge/ccx2paraview-feedstock#3 |
I see the existing scripts here: https://github.com/calculix/ccx2paraview/blob/master/pyproject.toml#L36-L39 But I don't see the executables after install. Since I usually work from conda environments, possibly a mixed Conda/PyPI thing? Test from minimal "pip" only conda environment. Confirm no conda-forge ccx2paraview package installed.
Install with pip and search for executables/entry points
The only file I see in the pip installed package is the
|
Downloading from here: https://pypi.org/project/ccx2paraview/#files confirms that it is the PyPI package that doesn't have the expected source files. Not a Conda/PIP mixup.
|
Now I see that maybe the PyPI package is just out-of-date with respect to the repository. Maybe this issue can close if/when a new PyPI package is published from an up-to-date commit? |
@jan-janssen & @kbrindley thanks for providing the conda-forge package. Still, I was in trouble getting ccx2paraview to work as PyPI package and github readme are out of sync.
and using the ccx2paraview package in python:
@imirzov the ccx2paraview package is a really great tool! I'm hoping for a new PyPI package release to get this issue handled (or maybe have a section in the README.md added to instruct on how to use the current PyPI package release). BR, |
Hi and let me explain about GitHub and PyPI documentations. GitHub repo contains development version of the code, and the documentation is relevant to the actual code modifications. @fsimonis did last commits, so we may ask him for comments about pyproject.toml and PyPI automatic publishing. I have no idea what is it. After him I did not create a new release, since the code does not contain new features for an end CalculiX user. And if you need to modify the code - just do it. I'll merge then. That's how open source works. |
@imirzov Hi there, The autopublishing is triggered by a new tag, hence you could create a new release to sync PyPI and the GitHub repo. One could say that the alias commands and the packaging are new "features", in which case, a minor release would make sense. |
Hi, I‘m just now testing a bugfix to overcome the SyntaxError warnings when running with Python 3.13… So, if you decide to publishing a new release, you could wait a few hours. BR, |
Ok, @soylentOrange, you decide if we can create a new release since you're the last person who tested the code. Here is the list of improvements:
|
@imirzov & @fsimonis , yes, I think it's worth a new release: 3.2.0 In my opinion the list of improvements is:
BR, |
You can create an executable on PATH with the
[project.scripts]
section. Then users won't need to find the source file in their virtual environment to execute.https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#creating-executable-scripts
pyproject.toml
edit: fixed syntax for
:main
The text was updated successfully, but these errors were encountered: