-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
Publish as a Python package on PyPI #321
Comments
AFAIK only plugins are installed with pip, themes use the pelican theme tool and live in getpelican/pelican-themes repository on GitHub. I can't find any official documentation that supports this theory. Do you have any? I don't see a problem with PyPI, as long as Pelican migrates to that. |
Pelican is progressively migrating to a everything is package approachas said here: getpelican/pelican#1564 (the important part is the end of the discussion). So while it is not mandatory and the transition will takes time, it is perfectly working (every theme from the PyPI query above is working just fine installed from PyPI). |
Ok, sounds reasonable. I have some changes coming up for 3.0, this feature would make sense as there are already a few themes in PyPI. |
That's great news !! Can I help ? Do you have a packaging preference ? I tend to use
|
I do have preferences, and it is the standard tools, aka setuptools and pip. I'm used to venv also. To publish on PyPI I use twine. I use pytest and/or tox to run tests because they are well-known. v3 branch is not published yet, all changes are on my local copy, but soon it will be up in this repo and changes could be done there. I don't really have an interest in tools that are not the standard ones. I also prefer yaml/json over toml. In case pdm can live well with standard tools I would not mind having it, but I would also not maintain it, since I don't use it. pdm seems to be for python 3.7 and above, older versions require more work, and some distros still have Python 3.6 as the default version (e.g. openSUSE Leap 15.4). At least for now, I would still require 3.6 support. |
Hi, I just pushed what is currently working, so I don't break the theme in case someone wants to use it. I also changed my mind about Python 3.6, it is EOL, and honestly, I prefer 3.10 now, but 3.8 would be the minimal version acceptable. For Pelican, I have no plans to support anything prior 4.8 in v3. |
It would be great if not awesome to publish this theme as a standalone package (It has multiple benefit for the end user).
Is ist something that could happen ?
If you prefer, I am totally volontary to submit a pull-request providing packaging, tooling, automation...
Would it be accepted If I propose ?
The text was updated successfully, but these errors were encountered: