Python: make rips packages complete

This commit is contained in:
Gaute Lindkvist 2019-06-12 11:27:54 +02:00
parent a5670cdb0e
commit 3611d32e9e
3 changed files with 8 additions and 3 deletions

View File

@ -0,0 +1,4 @@
include *.txt
include *.md
include LICENSE
recursive-include rips *.py

View File

@ -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)

View File

@ -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']
)