#224 pyrpkg should be published on pypi as source and wheel
Closed: Fixed 6 years ago Opened 6 years ago by ssbarnea.

As of today 2017 if a Python package is not published on PyPi I would be really weird.

PyPi offers a simple way to install Python packages on almost any platform.


Please note that there are dependencies that can not be installed from PyPI (particularly rpm and possibly others), so even if we upload it, it won't be directly usable.

I am fully aware about that but pypi also supports compiled versions. In fact after some effort I was able to compile the MacOS version but it still needs some fixes before making it usable.

While MacOS and Windows binaries are common, Linux binaries on PYPI are relatively new but the manylinux approach worked very well in the past couple of years. Example https://pypi.python.org/pypi/numpy/

It's easy to push rpkg to PyPI, but you have to install some dependencies, e.g. mock, rpm-build and rpmlint, from Fedora repo, python modules rpm-python and koji has to be installed in same way as well.

There is no hard requirement for having pypi dependencies already present on pypi. Please don't delay this because these are not there yet. People can install them manually using their os specific installer.

I will probably take care of publishing the macos version of python-rpm once I am ready.
Also remember that a lot of functionality is still usable even some of the dependencies are missing.

Metadata Update from @cqi:
- Issue assigned to cqi

6 years ago

It's easy to push rpkg to PyPI, but you have to install some dependencies, e.g. mock, rpm-build and rpmlint, from Fedora repo, python modules rpm-python and koji has to be installed in same way as well.

Good new is
we can install rpm-python from PyPI with rpm-py-installer. [1]
Also koji is going to be on PyPI soon. See https://pagure.io/koji/issue/458 .

[1] https://github.com/junaruga/rpm-py-installer

Update

We are getting close to this goal since koji 1.15 will support setuptools and will be released soon. After it's done, there is no Python package that cannot be installed from PyPI directly or source repository. Move this issue to NEXT.

But, please note that, you still need to install required underlying packages, e.g. rpm-build, rpmlint, mock, from Fedora repository in order to work with packages.

Metadata Update from @cqi:
- Issue set to the milestone: NEXT

6 years ago

@cqi ok that's good news. Thanks.

Both sdist and wheel packages are available. Going to merge this issue.

Metadata Update from @cqi:
- Issue close_status updated to: Fixed

6 years ago

Login to comment on this ticket.

Metadata