Offlineimap config files not stored when installing via `pip`
In the documentation is stated that offlineimap stores a minimal config file below /usr/share. However when installing the program with pip (which naturally has no write access to these directories), this file is nowhere to be found on my system, except in my ~/.cache/ directory. This surely can't be intended?
General information
- system/distribution (with version): Ubuntu 20.04.05 LTS
- offlineimap version (
offlineimap -V): 7.3.4 - Python version: 3.8.10
- server name or domain: -
- CLI options: -
Configuration file offlineimaprc
REMOVE PRIVATE DATA.
pythonfile (if any)
REMOVE PRIVATE DATA.
Logs, error
REMOVE PRIVATE DATA.
Steps to reproduce the error
- Install
offlineimapwithpipand perform a user installation:pip install --user offlineimap - Search the whole system for a file named
offlineimap.conf.minimal(orofflineimap.conf)
Hi @chrysle
currently, in pypi, there is only the offlineimap version for Python2. This version, offlineimap3, is Python3.
@spaetz could you help with the upload of offlineimap3 to pypi.org? I am not user how you did the uploads for Python2.
Regards, kix
Hi, currently 'offlineimap' and me are listed as maintainers on pypi.org for offlineimap. I am more than happy to pass on that maintainership to the current maintainers. Other than than, I do not think I can be of much help.
Hi @spaetz
thanks a lot for your reply. @spaetz @nicolas33 who should be in the maintainers group?
To upload the package, are you using setuptools or how are you uploading it?
Cheers, kix
I have not been uploading anything for a long time, and to be honest I have no idea how or what tools I had been using. Also, I think pypi has changed quite a few things since then in order to make uploads more secure. So, I won't be of much help in that regard, sorry.
Sent from mobile device.
Arguably, you want to retire the pip offlineimap package and create a new one named offlineimap3, as that is also the name you have been giving the distro packages?
Sent from mobile device.
I have not been uploading anything for a long time, and to be honest I have no idea how or what tools I had been using. Also, I think pypi has changed quite a few things since then in order to make uploads more secure.
I'd suggest you create a GitHub Actions Workflow that automatically uploads to PyPI whenever a release happens. See this guide for more information.
I have not been uploading anything for a long time, and to be honest I have no idea how or what tools I had been using. Also, I think pypi has changed quite a few things since then in order to make uploads more secure. So, I won't be of much help in that regard, sorry. -- Sent from mobile device.
Hi @spaetz
please, include me in the list of maintainers in pypi. I will try to upload a new version. I will use the link provided by @chrysle to do it.
About the offlineimap python2 packages, I am not sure about retire them. You did a great work and if they do not create problems, we should left them in pypi. What do you think?
Best regards, kix