Skip to content

Commit

Permalink
Update setup.py to remove errors and warnings on deployment. (#1066)
Browse files Browse the repository at this point in the history
  • Loading branch information
glados-verma authored Oct 15, 2022
1 parent f09a591 commit c669a9c
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions setup.py
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.
Expand Down Expand Up @@ -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': [
Expand All @@ -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,
Expand Down

0 comments on commit c669a9c

Please sign in to comment.