Skip to content

Commit 27afc3f

Browse files
committed
Refined setup.py classifiers, also re-added the 'about_file' key exception in the gen_about
1 parent 1ad5474 commit 27afc3f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

about_code_tool/genabout.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,8 @@ def format_output(input_list):
247247
about_dict_list['about_resource'], component_name, component_version)
248248

249249
for item in sorted(about_dict_list.iterkeys()):
250+
if item == 'about_file':
251+
continue
250252
if not item in MANDATORY_FIELDS:
251253
# The purpose of the replace('\n', '\n ') is used to
252254
# format the continuation strings

about_code_tool/tests/test_genabout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def test_format_output(self):
148148
'about_resource': '.', 'name': 'ABOUT Tool'}]]
149149
expected_output = [
150150
[join(TESTDATA_PATH, 'test_files_for_genabout/about.py.ABOUT'),
151-
'about_resource: .\nname: ABOUT Tool\nversion: 0.8.1\n\nabout_file: about.py.ABOUT\n']]
151+
'about_resource: .\nname: ABOUT Tool\nversion: 0.8.1\n\n']]
152152
output = gen.format_output(input_list)
153153
self.assertEqual(expected_output, output)
154154
self.assertFalse(gen.warnings, "No warnings should be returned.")

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
'Natural Language :: English',
3838
'Intended Audience :: Developers',
3939
'Intended Audience :: Information Technology',
40-
'Intended Audience :: Legal Industry',
41-
'Intended Audience :: System Administrators',
4240
'Topic :: Software Development',
4341
'Topic :: Software Development :: Documentation',
4442
'Topic :: Software Development :: Quality Assurance',

0 commit comments

Comments
 (0)