diff --git a/README.md b/README.md index 059180b5..a7e4e70b 100644 --- a/README.md +++ b/README.md @@ -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/) diff --git a/setup.py b/setup.py index a4283b94..16530d03 100644 --- a/setup.py +++ b/setup.py @@ -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', @@ -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 ) diff --git a/zospy/__init__.py b/zospy/__init__.py index ac0e9b7b..2fa13447 100644 --- a/zospy/__init__.py +++ b/zospy/__init__.py @@ -1,4 +1,4 @@ -__version__ = '0.6.0' +__version__ = '0.6.1' import logging