Utilities with minimum-depends for use in setup.py
-
novaclient.openstack.common.setup.canonicalize_emails(changelog, mapping)
Takes in a string and an email alias mapping and replaces all
instances of the aliases in the string with their real email.
-
novaclient.openstack.common.setup.generate_authors()
Create AUTHORS file using git commits.
-
novaclient.openstack.common.setup.get_cmdclass()
Return dict of commands to run from setup.py.
-
novaclient.openstack.common.setup.get_git_branchname()
-
novaclient.openstack.common.setup.get_post_version(projectname)
Return a version which is equal to the tag that’s on the current
revision if there is one, or tag plus number of additional revisions
if the current revision has no tag.
-
novaclient.openstack.common.setup.get_pre_version(projectname, base_version)
Return a version which is leading up to a version that will
be released in the future.
-
novaclient.openstack.common.setup.get_reqs_from_files(requirements_files)
-
novaclient.openstack.common.setup.parse_dependency_links(requirements_files=['requirements.txt', 'tools/pip-requires'])
-
novaclient.openstack.common.setup.parse_mailmap(mailmap='.mailmap')
-
novaclient.openstack.common.setup.parse_requirements(requirements_files=['requirements.txt', 'tools/pip-requires'])
-
novaclient.openstack.common.setup.read_versioninfo(project)
Read the versioninfo file. If it doesn’t exist, we’re in a github
zipball, and there’s really no way to know what version we really
are, but that should be ok, because the utility of that should be
just about nil if this code path is in use in the first place.
-
novaclient.openstack.common.setup.write_git_changelog()
Write a changelog based on the git changelog.
-
novaclient.openstack.common.setup.write_requirements()
-
novaclient.openstack.common.setup.write_versioninfo(project, version)
Write a simple file containing the version of the package.