Skip to content

Commit

Permalink
Merge pull request #5 from MREYE-LUMC/v0.6.1
Browse files Browse the repository at this point in the history
V0.6.1
  • Loading branch information
LucVV authored Oct 15, 2022
2 parents 964ea92 + ce3f548 commit 891dc4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ pip install zospy

## Dependencies
### Python packages
- [Python for .NET](http://pythonnet.github.io/) (tested with version 2.4)
- [Python for .NET](http://pythonnet.github.io/) (tested with version 2.5.2)
> **Warning**: _(Oktober 2022)_
Some functions of the ZOS-API seem fail with the newest available version of Pythonnet (version 3.0.0.post1), resulting in the following error: **"since Python.NET 3.0 int can not be converted to Enum implicitly."**. Therefore, the required version of pythonnet has been set to version 2.5.2 as this seems to work fine. Upon running into similar errors, please check the installed pythonnet version. We are working on a solution for this problem.

- [pandas](https://pandas.pydata.org/)
- [NumPy](https://numpy.org/)

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='zospy',
version='0.6.0',
version='0.6.1',
packages=['zospy'] + ['zospy.' + ii for ii in find_namespace_packages(where='zospy')],
url='https://github.com/MREYE-LUMC/ZOSPy',
license='GNU General Public License version 3',
Expand All @@ -19,6 +19,6 @@
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 3',
],
python_requires='>=3.0', install_requires=['pythonnet', 'pandas', 'numpy'],
python_requires='>=3.0', install_requires=['pythonnet==2.5.2', 'pandas', 'numpy'],
include_package_data=True
)
2 changes: 1 addition & 1 deletion zospy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '0.6.0'
__version__ = '0.6.1'

import logging

Expand Down

0 comments on commit 891dc4f

Please sign in to comment.