Python module name to package name map
Go to file
Tony Breeds 3edbe8484c Add python2 and python3 return values
The generic translation rules
 def openstack_prefix_tr(mod):
 def rdo_horizon_plugins_tr(mod):
 def suse_horizon_plugins_tr(mod):

Only have return values for pyvers=py, Update the rules to return the
same pkg regardless of pyversion.

This way:
for pyver in py py2 py3 ; do
   pymod2pkg --dist xx --pyver $pyver Tempest
done

returns openstack-tempest for all python versions

Change-Id: I73a49916e2b2898cb31d8cfd68e25b94d39b1934
2022-07-27 15:50:18 +10:00
doc Add doc/requirements 2021-01-07 16:34:24 +01:00
pymod2pkg Add python2 and python3 return values 2022-07-27 15:50:18 +10:00
.gitignore Switch to stestr and remove flake8 from the list of dependencies 2018-08-28 14:01:32 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:28:24 +00:00
.stestr.conf Switch to stestr and remove flake8 from the list of dependencies 2018-08-28 14:01:32 +02:00
.zuul.yaml update to zed level jobs 2022-05-13 10:13:51 +02:00
CONTRIBUTING.rst [community goal] Update contributor documentation 2021-08-30 17:14:42 +00:00
LICENSE Initial import 2015-11-02 09:10:12 +01:00
MANIFEST.in Restructure documentation 2016-01-07 19:09:50 +01:00
Makefile Initial import 2015-11-02 09:10:12 +01:00
README.rst Moving IRC network reference to OFTC 2021-07-08 08:29:22 -05:00
lower-constraints.txt Bump some requirements in lower-constraints.txt 2020-12-16 10:44:51 +01:00
requirements.txt Switch away from deprecated distribution lookup 2020-03-23 12:37:13 +01:00
setup.cfg Cleanup py27 support 2020-04-05 10:25:07 +02:00
setup.py Cleanup py27 support 2020-04-05 10:25:07 +02:00
test-requirements.txt Add doc/requirements 2021-01-07 16:34:24 +01:00
tests.py Add python2 and python3 return values 2022-07-27 15:50:18 +10:00
tox.ini update to zed level jobs 2022-05-13 10:13:51 +02:00

README.rst

Team and repository tags

image

pymod2pkg

pymod2pkg is a simple python module for translating python module names to corresponding package names which is a common problem in the packaging world. It is used for the OpenStack rpm packaging initiative. For more information about the OpenStack rpm packaging initiative, please follow the link to the wiki page:

https://wiki.openstack.org/wiki/Rpm-packaging

In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. If you obtained the software from a 3rd party operating system vendor, it is often wise to use their own bug tracker for reporting problems. In all other cases use the master OpenStack bug tracker, available at:

https://bugs.launchpad.net/pymod2pkg

Developers wishing to work on pymod2pkg should always base their work on the latest code, available from the master GIT repository at:

https://opendev.org/openstack/pymod2pkg

Developers should also join the discussion on the mailing list, at:

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss

or join the IRC channel on

http://webchat.oftc.net/?channels=openstack-rpm-packaging