-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update setup.py to remove errors and warnings on deployment. (#1066)
- Loading branch information
1 parent
f09a591
commit c669a9c
Showing
1 changed file
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Copyright 2014 Google Inc. All Rights Reserved. | ||
# Copyright 2022 Google Inc. All Rights Reserved. | ||
|
||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
@@ -180,14 +180,20 @@ def run_tests(self): | |
sys.exit(pytest.main(self.pytest_args + cov)) | ||
|
||
|
||
_README_PATH = os.path.join( | ||
os.path.dirname(os.path.realpath(__file__)), 'README.md') | ||
with open(_README_PATH, 'rb') as fp: | ||
LONG_DESCRIPTION = fp.read().decode('utf-8') | ||
|
||
|
||
setup( | ||
name='openhtf', | ||
version='1.4.4', | ||
version='1.5.2', | ||
description='OpenHTF, the open hardware testing framework.', | ||
author='John Hawley', | ||
author_email='[email protected]', | ||
maintainer='Joe Ethier', | ||
maintainer_email='[email protected]', | ||
url='https://github.com/google/openhtf', | ||
author='The OpenHTF Authors', | ||
long_description=LONG_DESCRIPTION, | ||
long_description_content_type='text/markdown', | ||
packages=find_packages(), | ||
package_data={ | ||
'openhtf': [ | ||
|
@@ -196,7 +202,7 @@ def run_tests(self): | |
'output/web_gui/dist/img/*', 'output/web_gui/*.*' | ||
] | ||
}, | ||
python_requires='>=3.6', | ||
python_requires='>=3.7', | ||
cmdclass={ | ||
'build_proto': BuildProtoCommand, | ||
'clean': CleanCommand, | ||
|