forked from OpenMDAO/OpenMDAO-Framework
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OpenMDAO#1942 from crobinsonut/89824836
Fix conda builds of extensions and bar3simulation
- Loading branch information
Showing
19 changed files
with
81 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
SETLOCAL | ||
cd %SP_DIR%\numpy\distutils\fcompiler | ||
copy %RECIPE_DIR%\..\numpy.distutils-1.7.1.patch . | ||
git apply numpy.distutils-1.7.1.patch | ||
cd %SRC_DIR% | ||
|
||
%PYTHON% setup.py install | ||
%PYTHON% -c "from pkg_resources import get_distribution; print get_distribution('%PKG_NAME%').version" > __conda_version__.txt | ||
%PYTHON% -c "from pkg_resources import get_distribution; print get_distribution('%PKG_NAME%').parsed_version.base_version" > __conda_version__.txt | ||
|
||
TYPE __buildnum__.txt > __conda_buildnum__.txt | ||
|
||
ENDLOCAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,3 +19,5 @@ requirements: | |
- python | ||
- numpy >=1.7.1 | ||
- libpython # [win] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import cobyla | ||
import cobyla.cobyla | ||
from cobyla.cobyla import cobyla | ||
from cobyla.cobyla import closeunit | ||
from cobyla.cobyla import openunit | ||
from cobyla.cobyla import pyflush |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
SETLOCAL | ||
cd %SP_DIR%\numpy\distutils\fcompiler | ||
copy %RECIPE_DIR%\..\numpy.distutils-1.7.1.patch . | ||
git apply numpy.distutils-1.7.1.patch | ||
cd %SRC_DIR% | ||
|
||
%PYTHON% setup.py install | ||
%PYTHON% -c "from pkg_resources import get_distribution; print get_distribution('%PKG_NAME%').version" > __conda_version__.txt | ||
%PYTHON% -c "from pkg_resources import get_distribution; print get_distribution('%PKG_NAME%').parsed_version.base_version" > __conda_version__.txt | ||
|
||
TYPE __buildnum__.txt > __conda_buildnum__.txt | ||
|
||
ENDLOCAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import conmin | ||
import conmin.conmin | ||
from conmin.conmin import conmin | ||
from conmin.conmin import consav | ||
from conmin.conmin import cnmn01 | ||
from conmin.conmin import cnmn02 | ||
from conmin.conmin import cnmn03 | ||
from conmin.conmin import cnmn04 | ||
from conmin.conmin import cnmn05 | ||
from conmin.conmin import cnmn06 | ||
from conmin.conmin import cnmn07 | ||
from conmin.conmin import cnmn08 | ||
from conmin.conmin import cnmn1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
SETLOCAL | ||
cd %SP_DIR%\numpy\distutils\fcompiler | ||
copy %RECIPE_DIR%\..\numpy.distutils-1.7.1.patch . | ||
git apply numpy.distutils-1.7.1.patch | ||
cd %SRC_DIR% | ||
|
||
%PYTHON% setup.py install | ||
%PYTHON% -c "from pkg_resources import get_distribution; print get_distribution('%PKG_NAME%').version" > __conda_version__.txt | ||
%PYTHON% -c "from pkg_resources import get_distribution; print get_distribution('%PKG_NAME%').parsed_version.base_version" > __conda_version__.txt | ||
|
||
TYPE __buildnum__.txt > __conda_buildnum__.txt | ||
|
||
ENDLOCAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import newsumt | ||
import newsumt.newsumtinterruptible | ||
from newsumt.newsumtinterruptible import contrl | ||
from newsumt.newsumtinterruptible import countr | ||
from newsumt.newsumtinterruptible import newsuminterruptible | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
SETLOCAL | ||
cd %SP_DIR%\numpy\distutils\fcompiler | ||
copy %RECIPE_DIR%\..\numpy.distutils-1.7.1.patch . | ||
git apply numpy.distutils-1.7.1.patch | ||
cd %SRC_DIR% | ||
|
||
cd examples\%PKG_NAME% | ||
python setup.py bdist_egg | ||
cd .. | ||
easy_install -N %PKG_NAME% | ||
easy_install --no-deps . | ||
|
||
%PYTHON% -c "from pkg_resources import get_distribution; print get_distribution('%PKG_NAME%').parsed_version.base_version" > __conda_version__.txt | ||
|
||
TYPE __buildnum__.txt > __conda_buildnum__.txt | ||
ENDLOCAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import openmdao.examples.bar3simulation | ||
import openmdao.examples.bar3simulation.bar3 | ||
|
||
from openmdao.examples.bar3simulation.bar3 import forces | ||
from openmdao.examples.bar3simulation.bar3 import runbar3truss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
SETLOCAL | ||
cd %SP_DIR%\numpy\distutils\fcompiler | ||
copy %RECIPE_DIR%\..\numpy.distutils-1.7.1.patch . | ||
git apply numpy.distutils-1.7.1.patch | ||
cd %SRC_DIR% | ||
|
||
%PYTHON% setup.py install | ||
%PYTHON% -c "from pkg_resources import get_distribution; print get_distribution('%PKG_NAME%').version" > __conda_version__.txt | ||
%PYTHON% -c "from pkg_resources import get_distribution; print get_distribution('%PKG_NAME%').parsed_version.base_version" > __conda_version__.txt | ||
|
||
TYPE __buildnum__.txt > __conda_buildnum__.txt | ||
|
||
ENDLOCAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import slsqp | ||
import slsqp.slsqp | ||
from slsqp.slsqp import closeunit | ||
from slsqp.slsqp import openunit | ||
from slsqp.slsqp import pyflush | ||
from slsqp.slsqp import slsqp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ | |
'bar3simulation'))) | ||
|
||
import releaseinfo | ||
|
||
version = releaseinfo.__version__ | ||
|
||
include_dirs = [] | ||
|