diff --git a/cvxpygen/cpg.py b/cvxpygen/cpg.py index b4d211e..7e2a591 100644 --- a/cvxpygen/cpg.py +++ b/cvxpygen/cpg.py @@ -58,7 +58,7 @@ def generate_code(problem, code_dir='CPG_code', solver=None, unroll=False, prefi for d in ['src', 'include']: os.mkdir(os.path.join(code_dir, 'cpp', d)) shutil.copy(os.path.join(cvxpygen_directory, 'template', 'CMakeLists.txt'), os.path.join(code_dir, 'c')) - for file in ['setup.py', 'README.html']: + for file in ['setup.py', 'README.html', '__init__.py']: shutil.copy(os.path.join(cvxpygen_directory, 'template', file), code_dir) # problem data diff --git a/cvxpygen/template/__init__.py b/cvxpygen/template/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index 965b023..2b3fcdf 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ MAJOR = 0 MINOR = 2 -MICRO = 1 +MICRO = 2 VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)