Skip to content

Commit 0abe37b

Browse files
authored
Merge pull request #17 from cvxgrp/ms-python-module
__init__.py in <code_dir>
2 parents 1126adf + 6285179 commit 0abe37b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

cvxpygen/cpg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def generate_code(problem, code_dir='CPG_code', solver=None, unroll=False, prefi
5858
for d in ['src', 'include']:
5959
os.mkdir(os.path.join(code_dir, 'cpp', d))
6060
shutil.copy(os.path.join(cvxpygen_directory, 'template', 'CMakeLists.txt'), os.path.join(code_dir, 'c'))
61-
for file in ['setup.py', 'README.html']:
61+
for file in ['setup.py', 'README.html', '__init__.py']:
6262
shutil.copy(os.path.join(cvxpygen_directory, 'template', file), code_dir)
6363

6464
# problem data

cvxpygen/template/__init__.py

Whitespace-only changes.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
MAJOR = 0
55
MINOR = 2
6-
MICRO = 1
6+
MICRO = 2
77
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
88

99

0 commit comments

Comments
 (0)