diff --git a/ApplicationCode/GrpcInterface/Python/MANIFEST.in b/ApplicationCode/GrpcInterface/Python/MANIFEST.in new file mode 100644 index 0000000000..113b7ecdf3 --- /dev/null +++ b/ApplicationCode/GrpcInterface/Python/MANIFEST.in @@ -0,0 +1,4 @@ +include *.txt +include *.md +include LICENSE +recursive-include rips *.py diff --git a/ApplicationCode/GrpcInterface/Python/rips/Instance.py b/ApplicationCode/GrpcInterface/Python/rips/Instance.py index 9ae3db2850..d8b626c5a2 100644 --- a/ApplicationCode/GrpcInterface/Python/rips/Instance.py +++ b/ApplicationCode/GrpcInterface/Python/rips/Instance.py @@ -134,7 +134,7 @@ class Instance: connectionOk, versionOk = self.__checkVersion() if not connectionOk: - if launched: + if self.launched: raise Exception('Error: Could not connect to resinsight at ', location, ' after trying 10 times with 1 second apart') else: raise Exception('Error: Could not connect to resinsight at ', location) diff --git a/ApplicationCode/GrpcInterface/Python/setup.py.cmake b/ApplicationCode/GrpcInterface/Python/setup.py.cmake index e067cd1567..17dbffd5fc 100644 --- a/ApplicationCode/GrpcInterface/Python/setup.py.cmake +++ b/ApplicationCode/GrpcInterface/Python/setup.py.cmake @@ -6,7 +6,7 @@ with open('README.md') as f: with open('LICENSE') as f: license = f.read() -RIPS_DIST_VERSION = '3' +RIPS_DIST_VERSION = '8' setup( name='rips', @@ -17,5 +17,6 @@ setup( author_email='info@ceetronsolutions.com', url='http://www.resinsight.org', license=license, - packages=find_packages(exclude=('docs', '__pycache__')) + include_package_data=True, + packages=['rips', 'rips.generated', 'rips.examples', 'rips.tests'] ) \ No newline at end of file