Disk image elements for Sahara
Go to file
Elod Illes 008b0d7e83 Disable auto-discovery for setuptools
With setuptools release 61.0.0 sahara-image-elements' package build
command (python3 setup.py sdist bdist_wheel) started to fail:

error: Multiple top-level packages discovered in a flat-layout:
['roles', 'elements', 'playbooks'].

This bug is mentioned in setuptools issue 3197 [1], and the suggested
workaround is to disable auto-discovery by adding 'py_modules=[]' in
setup.py.

To unblock the gate the following needed to be updated as well:
- requirements constraints
- fix lower-constraints job constraints (only the 1st constraints is
  used by pip, which was upper-constraints.txt from install command)

[1] https://github.com/pypa/setuptools/issues/3197

Change-Id: Ib2d3e296e6d405671594dfd630e381ae414a2709
2022-03-28 16:19:31 +02:00
bin Add main script for building sahara images 2015-03-30 16:43:06 +03:00
diskimage-create Allow qemu-utils to be used to build image 2019-09-10 21:03:10 -04:00
elements Fix URL of Maven Central Repository 2020-08-10 18:21:16 +00:00
playbooks/buildimages Fix the buildimages jobs: call the ensure-tox role 2020-08-10 18:00:06 +02:00
roles/build-sahara-images-dib Fix the buildimages jobs: call the ensure-tox role 2020-08-10 18:00:06 +02:00
tools Fix the buildimages jobs: call the ensure-tox role 2020-08-10 18:00:06 +02:00
.gitignore Remove duplicate .coverage in .gitignore file 2015-09-22 17:24:08 +05:30
.gitreview OpenDev Migration Patch 2019-04-19 19:31:58 +00:00
.mailmap Adding my alt email to .mailmap 2013-10-07 19:43:43 +04:00
.zuul.yaml Use template for lower-constraints 2018-12-20 21:39:04 +01:00
CONTRIBUTING.rst Ussuri contributor docs community goal 2020-04-22 13:05:04 -04:00
HACKING.rst Update the documentation link for doc migration 2017-08-28 08:59:35 +08:00
LICENSE Add LICENSE file 2013-09-02 12:59:05 +04:00
MANIFEST.in Package with pbr 2013-09-02 13:00:09 +04:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-20 13:51:31 +02:00
lower-constraints.txt Disable auto-discovery for setuptools 2022-03-28 16:19:31 +02:00
requirements.txt Updated from global requirements 2017-09-16 23:24:53 +00:00
setup.cfg Cleanup py27 support 2020-04-17 01:12:32 +02:00
setup.py Disable auto-discovery for setuptools 2022-03-28 16:19:31 +02:00
test-requirements.txt Disable auto-discovery for setuptools 2022-03-28 16:19:31 +02:00
tox.ini Disable auto-discovery for setuptools 2022-03-28 16:19:31 +02:00

README.rst

Team and repository tags

image

Sahara image elements project

This repo is a place for Sahara-related for diskimage-builder elements.

Script for creating Fedora and Ubuntu cloud images with our elements and default parameters. You should only need to run this command:

tox -e venv -- sahara-image-create

Note: More information about script diskimage-create