2013-07-05 00:31:50 -04:00
|
|
|
[metadata]
|
2016-11-10 19:58:10 +11:00
|
|
|
name = openstack_requirements
|
|
|
|
summary = OpenStack python dependency management tools
|
2013-07-05 00:31:50 -04:00
|
|
|
description-file =
|
|
|
|
README.rst
|
|
|
|
author = OpenStack
|
|
|
|
author-email = openstack-dev@lists.openstack.org
|
2017-07-22 11:13:49 +08:00
|
|
|
home-page = https://docs.openstack.org/requirements/latest/
|
2013-07-05 00:31:50 -04:00
|
|
|
classifier =
|
|
|
|
Environment :: OpenStack
|
|
|
|
Intended Audience :: Information Technology
|
|
|
|
Intended Audience :: System Administrators
|
|
|
|
License :: OSI Approved :: Apache Software License
|
|
|
|
Operating System :: POSIX :: Linux
|
Add Windows as supported operating system
This change is necessary in order to use the project's
update-requirements.py script when preparing the environment on the
Hyper-V compute nodes used in the Hyper-V CI. Using the mentioned script
will set the latest requirements in nova, neutron, manila, etc.,
reducing the CI's amount of failures caused by outdated requirements.
Including Microsoft Windows as a supported operating system on this
project. Also, we update the edit-constraints.py and project.py
files to support os.rename() of Windows.
On Windows, os.rename() will create a file with the source
name, without deleting the initial file first.
Example of a traceback:
Traceback (most recent call last):
File "C:\Python27\Scripts\edit-constraints-script.py", line 9, in
<module>
load_entry_point('openstack.requirements==0.0.1.dev2497',
'console_scripts', 'edit-constraints')()
File
"C:\Python27\lib\site-packages\openstack_requirements\cmds\edit_constraint.py",
line 74, in main
os.rename(args[0] + '.tmp', args[0])
WindowsError: [Error 183] Cannot create a file when that file already exists
This could be easily solved by removing the file before the rename.
Proposed fix:
Add before "os.rename(args[0] + '.tmp', args[0])" the line "os.remove(args[0])"
in edit_constraint.py
Add before "os.rename(tmpname, fullname)" the line "os.remove(fullname)"
in project.py
Add "Operating System :: Microsoft :: Windows" in setup.cfg
DocImpact: Added Windows as a supported OS in setup.cfg
Change-Id: If123a65fd8d49d5c67a1db16827a9617ce520dba
Signed-off-by: Costin Galan <cgalan@cloudbasesolutions.com>
2016-02-04 13:21:56 +02:00
|
|
|
Operating System :: Microsoft :: Windows
|
2016-11-10 19:58:10 +11:00
|
|
|
Operating System :: MacOS :: MacOS X
|
2013-07-05 00:31:50 -04:00
|
|
|
Programming Language :: Python
|
|
|
|
Programming Language :: Python :: 2
|
|
|
|
Programming Language :: Python :: 2.7
|
2015-12-11 15:00:43 +05:30
|
|
|
Programming Language :: Python :: 3
|
|
|
|
Programming Language :: Python :: 3.4
|
2016-11-10 19:58:10 +11:00
|
|
|
Programming Language :: Python :: 3.5
|
2013-07-05 00:31:50 -04:00
|
|
|
|
2015-06-18 10:45:05 +12:00
|
|
|
[files]
|
|
|
|
packages =
|
|
|
|
openstack_requirements
|
2015-06-11 19:14:55 +12:00
|
|
|
|
2015-09-29 12:15:25 +10:00
|
|
|
[build_sphinx]
|
|
|
|
all_files = 1
|
|
|
|
build-dir = doc/build
|
|
|
|
source-dir = doc/source
|
|
|
|
|
2015-06-11 19:14:55 +12:00
|
|
|
[entry_points]
|
|
|
|
console_scripts =
|
2015-06-25 21:50:40 +12:00
|
|
|
edit-constraints = openstack_requirements.cmds.edit_constraint:main
|
2015-06-25 16:34:35 +12:00
|
|
|
generate-constraints = openstack_requirements.cmds.generate:main
|
2016-05-31 08:08:03 -04:00
|
|
|
check-conflicts = openstack_requirements.cmds.check_conflicts:main
|
2015-06-25 16:34:35 +12:00
|
|
|
update-requirements = openstack_requirements.cmds.update:main
|
2015-07-23 20:43:32 +00:00
|
|
|
validate-constraints = openstack_requirements.cmds.validate:main
|
2016-05-12 16:15:46 -04:00
|
|
|
validate-projects = openstack_requirements.cmds.validate_projects:main
|
2016-06-23 16:49:16 +10:00
|
|
|
normalize-requirements = openstack_requirements.cmds.normalize_requirements:main
|
2017-03-13 16:02:59 +11:00
|
|
|
check-python2-support = openstack_requirements.cmds.check_py2:main
|
|
|
|
check-constraints = openstack_requirements.cmds.check_exists:main
|