Skip to content

Commit 0cbcdb9

Browse files
authored
Pin pythonnet to 2.5.2 (or compatible) in setup.py (#53)
When testing the built WHL file, I noticed that pythonnet 3 is still installed despite updating requirements.txt. It turns out that we need to update `install_requires` in setup.py as well.
1 parent d089d8e commit 0cbcdb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def read_contents(file_to_read):
4242
packages=find_packages('src'),
4343
package_dir={'': 'src'},
4444
include_package_data=True,
45-
install_requires=['pythonnet', 'PyYAML'],
45+
install_requires=['pythonnet~=2.5.2', 'PyYAML'],
4646
tests_require=['pytest', 'numpy'],
4747
classifiers=[
4848
"Development Status :: 5 - Production/Stable",

0 commit comments

Comments
 (0)