Task #2842
closed
Improve Pulp PyPI packages
Status:
CLOSED - CURRENTRELEASE
- Sprint Candidate changed from No to Yes
+1 to config, license, and docs. We need to disinclude the systemd parts because that is OS specific, so we can't ship it with the pure Python code. I think the Ansible installer will allow the "right thing" to be done on all the different OS's. So I imagine #2840 will handle installing the systemd units.
Note that the develop install roles (not #2840) will still install the systemd unit files since the development OS is Fedora. I think they should do that if they don't already.
Actually I'm not entirely sure how to ship the docs. Maybe we should leave those out for now too?
- Description updated (diff)
I don't have much experience with this, but from reading the docs, if we include them in MANIFEST.in they will install in the package's folder in site-packages. That would make that server.yaml file to install in /usr/lib/python3.5/site-packages/pulp/server.yaml
.
Is there any way for us to specify that it live somewhere else in the filesystem?
- Description updated (diff)
The config file should be included in the package_data instead of the MANIFEST.in since it should be included in the package and not just source distribution.
- Groomed changed from No to Yes
Thanks bizhang. Having it install in the python package root for pulp sounds fine. It's so cross platform! Thank you for writing this all up.
- Sprint/Milestone set to 41
- Status changed from NEW to ASSIGNED
- Assignee set to bizhang
- Status changed from ASSIGNED to POST
- Status changed from POST to MODIFIED
I updated the pulpcore, pulpcore-common, pulpcore-plugin, and pulp_file packages. The rest are not currently built for pypi yet and should be done at a later date.
- Sprint/Milestone deleted (
41)
- Sprint/Milestone set to 3.0.0
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF
Improve PyPI Packaging
re #2842 https://pulp.plan.io/issues/2842