File tree Expand file tree Collapse file tree 4 files changed +9
-5
lines changed
Expand file tree Collapse file tree 4 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: Upload Python Package
55
66on :
77 release :
8- types : [published, edited ]
8+ types : [published]
99
1010jobs :
1111 deploy :
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/*
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 66setuptools .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" ,
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)
You can’t perform that action at this time.
0 commit comments