Skip to content

Commit e1341aa

Browse files
fixing minor issues and git history
1 parent 00753b7 commit e1341aa

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.github/workflows/python-publish.yml

+2-2
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:
@@ -28,4 +28,4 @@ jobs:
2828
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
2929
run: |
3030
python setup.py sdist bdist_wheel
31-
twine upload dist/*
31+
twine upload --repository testpypi dist/*

pyvba/browser.py

+2
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ def _generate(self):
9191
)
9292
else:
9393
self._all[attr] = obj
94+
except KeyboardInterrupt:
95+
raise
9496
except BaseException as e:
9597
self._errors[attr] = e.args
9698
self._all[attr] = e

pyvba/viewer.py

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def __getattr__(self, item):
3131
"""Return a variable, FunctionViewer, or Browser object."""
3232
try:
3333
obj = getattr(self._com, item)
34+
except KeyboardInterrupt:
35+
raise
3436
except BaseException as e:
3537
self._errors[item] = e.args
3638
return e

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
setuptools.setup(
77
name="pyvba",
88
version="0.5.1",
9-
author="TheEric960",
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)