[opensuse-buildservice] Building a Python package
I am trying to build a rather simple python package on OBS. It is the backports of some Python 3 functions for use with Python 2. I thought I would package it like a simple python package. But I guess that's not the way one should package a backport package. I looked at this but just got confused: https://build.opensuse.org/package/show/openSUSE%3ALeap%3A15.0/python-backpo... Is there documentation on this? The package I am playing with is https://build.opensuse.org/package/show/home:rogeroberholtzer/python-backpor... -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, On 26.03.2018 15:43, Roger Oberholtzer wrote:
I am trying to build a rather simple python package on OBS. It is the backports of some Python 3 functions for use with Python 2. I thought I would package it like a simple python package. But I guess that's not the way one should package a backport package.
I looked at this but just got confused:
https://build.opensuse.org/package/show/openSUSE%3ALeap%3A15.0/python-backpo...
This is the "base" packages. Other backport packages should Requires on that. Look ie. at https://build.opensuse.org/package/show/devel:languages:python/python-backpo...
Is there documentation on this?
I don't think so. But there are examples in devel:languages:python. Best, Tom -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, Mar 27, 2018 at 11:23 AM, Thomas Bechtold
This is the "base" packages. Other backport packages should Requires on that. Look ie. at https://build.opensuse.org/package/show/devel:languages:python/python-backpo...
Is there documentation on this?
I don't think so. But there are examples in devel:languages:python.
Thanks for the info. I have sorted out the problem. I didn't notice that the package used setuptools_scm and not setuptools. So it was failing. I have now made the package. It installs on my system and the backported stuff is found and used. -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Roger Oberholtzer
-
Thomas Bechtold