Skip to content

Commit c669a9c

Browse files
authored
Update setup.py to remove errors and warnings on deployment. (#1066)
1 parent f09a591 commit c669a9c

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

setup.py

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2014 Google Inc. All Rights Reserved.
1+
# Copyright 2022 Google Inc. All Rights Reserved.
22

33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -180,14 +180,20 @@ def run_tests(self):
180180
sys.exit(pytest.main(self.pytest_args + cov))
181181

182182

183+
_README_PATH = os.path.join(
184+
os.path.dirname(os.path.realpath(__file__)), 'README.md')
185+
with open(_README_PATH, 'rb') as fp:
186+
LONG_DESCRIPTION = fp.read().decode('utf-8')
187+
188+
183189
setup(
184190
name='openhtf',
185-
version='1.4.4',
191+
version='1.5.2',
186192
description='OpenHTF, the open hardware testing framework.',
187-
author='John Hawley',
188-
author_email='[email protected]',
189-
maintainer='Joe Ethier',
190-
maintainer_email='[email protected]',
193+
url='https://github.com/google/openhtf',
194+
author='The OpenHTF Authors',
195+
long_description=LONG_DESCRIPTION,
196+
long_description_content_type='text/markdown',
191197
packages=find_packages(),
192198
package_data={
193199
'openhtf': [
@@ -196,7 +202,7 @@ def run_tests(self):
196202
'output/web_gui/dist/img/*', 'output/web_gui/*.*'
197203
]
198204
},
199-
python_requires='>=3.6',
205+
python_requires='>=3.7',
200206
cmdclass={
201207
'build_proto': BuildProtoCommand,
202208
'clean': CleanCommand,

0 commit comments

Comments
 (0)