Skip to content

Commit 7697517

Browse files
updated package files
1 parent 97d792a commit 7697517

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Upload Python Package
55

66
on:
77
release:
8-
types: [published, edited]
8+
types: [published]
99

1010
jobs:
1111
deploy:

pyvba/browser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ def _generate(self):
9090
self._all[name] = self.from_viewer(obj, self)
9191
else:
9292
self._all[name] = obj
93+
except KeyboardInterrupt:
94+
raise
9395
except BaseException as e:
9496
self._errors[name] = e.args
9597
continue

pyvba/viewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def getattr(self, item):
8585
"""Return a variable, FunctionViewer, or Viewer object."""
8686
try:
8787
obj = getattr(self._com, item)
88-
except AttributeError:
88+
except (AttributeError, KeyboardInterrupt):
8989
raise
9090
except BaseException as e:
9191
self._errors[item] = e

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
setuptools.setup(
77
name="pyvba",
8-
version="0.5.1",
9-
author="TheEric960",
8+
version="0.6.0",
9+
author="Jack Wilson",
1010
description="Data mine and write scrips for VBA applications on Windows.",
1111
long_description=long_description,
1212
long_description_content_type="text/markdown",
@@ -18,8 +18,8 @@
1818
"License :: OSI Approved :: MIT License",
1919
"Natural Language :: English",
2020
"Operating System :: Microsoft :: Windows",
21-
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.7",
2222
],
2323
install_requires=['pywin32'],
24-
python_requires='>=3',
24+
python_requires='>=3.7',
2525
)

0 commit comments

Comments
 (0)