Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
Orekit Python Wrapper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Orekit Labs
Orekit Python Wrapper
Commits
5b67c77b
Commit
5b67c77b
authored
7 years ago
by
Petrus Hyvönen
Browse files
Options
Downloads
Patches
Plain Diff
Pythonwrapper build scripts
parent
79019eb8
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
orekit-conda-recipe/CHANGES.txt
+4
-0
4 additions, 0 deletions
orekit-conda-recipe/CHANGES.txt
orekit-conda-recipe/bld.bat
+30
-26
30 additions, 26 deletions
orekit-conda-recipe/bld.bat
orekit-conda-recipe/build.sh
+18
-16
18 additions, 16 deletions
orekit-conda-recipe/build.sh
with
52 additions
and
42 deletions
orekit-conda-recipe/CHANGES.txt
+
4
−
0
View file @
5b67c77b
Changelog python orekit package
Changelog python orekit package
2017-08-24 Version 9.0 Build 0
- Updated to orekit v9.0 release version
- First build on python 3
2016-11-13 Version 8.0 Build 1
2016-11-13 Version 8.0 Build 1
- Corrected the datetime to absolute conversions, microseconds was incorrectly converted
- Corrected the datetime to absolute conversions, microseconds was incorrectly converted
...
...
This diff is collapsed.
Click to expand it.
orekit-conda-recipe/bld.bat
+
30
−
26
View file @
5b67c77b
:: set JCC_JDK=%JAVA_HOME
set
:: set PATH=%JCC_JDK%\jre\bin\server;%JCC_JDK%;%JCC_JDK%\bin;%JCC_JDK%\lib;%JCC_JDK%\include;%PATH%
:: set JDK_HOME=%JCC_JDK%
:: set
"
%PYTHON%
"
-m
jcc
^
"
%PYTHON%
"
-m
jcc
^
--use
_full_names
^
--use
_full_names
^
--python
orekit
^
--python
orekit
^
--version
8
.0
^
--version
9
.0
^
--jar
%RECIPE_DIR%
\orekit
-
8
.1
-SNAPSHOT
.jar
^
--jar
%RECIPE_DIR%
\orekit
-
9
.0
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-core
-
1
.
0
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-core
-
1
.
1
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-fitting
-
1
.
0
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-fitting
-
1
.
1
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-geometry
-
1
.
0
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-geometry
-
1
.
1
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-ode
-
1
.
0
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-ode
-
1
.
1
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-optim
-
1
.
0
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-optim
-
1
.
1
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-stat
-
1
.
0
.jar
^
--jar
%RECIPE_DIR%
\hipparchus
-stat
-
1
.
1
.jar
^
--package
java
.io
^
--package
java
.io
^
--package
java
.util
^
--package
java
.util
^
--package
java
.text
^
--package
java
.text
^
...
@@ -59,26 +62,27 @@ if errorlevel 1 exit 1
...
@@ -59,26 +62,27 @@ if errorlevel 1 exit 1
:: Add PATH to anaconda java-jdk / jre
:: Add PATH to anaconda java-jdk / jre
echo
import
os
>
header
.txt
::
echo import os > header.txt
echo
os
.environ
[
"PATH"
]
=
r
"
%PREFIX%
\Library\jre\bin\server"
+
os
.pathsep
+
os
.environ
[
"PATH"
]
>>
header
.txt
::
echo os.environ["PATH"] = r"%PREFIX%\Library\jre\bin\server" + os.pathsep + os.environ["PATH"] >> header.txt
IF
"
%ARCH%
"
==
"32"
(
:: IF "%ARCH%"=="32" (
::win32
ARCH
==
32
::win32
ARCH
==
32
type
%SP_DIR%
\
%PKG_NAME%
-
%PKG_VERSION%
-
py
2
.7
-win
32
.egg\
%PKG_NAME%
\__init__.py
>>
header
.txt
::
type %SP_DIR%\%PKG_NAME%-%PKG_VERSION%-
%PKG_BUILD_STRING:~0,3%.%PKG_BUILD_STRING:~3,1%
-win32.egg\%PKG_NAME%\__init__.py >> header.txt
del
%SP_DIR%
\
%PKG_NAME%
-
%PKG_VERSION%
-
py
2
.7
-win
32
.egg\
%PKG_NAME%
\__init__.py
::
del %SP_DIR%\%PKG_NAME%-%PKG_VERSION%-
%PKG_BUILD_STRING:~0,3%.%PKG_BUILD_STRING:~3,1%
-win32.egg\%PKG_NAME%\__init__.py
del
%SP_DIR%
\
%PKG_NAME%
-
%PKG_VERSION%
-
py
2
.7
-win
32
.egg\
%PKG_NAME%
\__init__.pyc
::
del %SP_DIR%\%PKG_NAME%-%PKG_VERSION%-
%PKG_BUILD_STRING:~0,3%.%PKG_BUILD_STRING:~3,1%
-win32.egg\%PKG_NAME%\__init__.pyc
ren
header
.txt __init__.py
::
ren header.txt __init__.py
move
__init__.py
%SP_DIR%
\
%PKG_NAME%
-
%PKG_VERSION%
-
py
2
.7
-win
32
.egg\
%PKG_NAME%
\
::
move __init__.py %SP_DIR%\%PKG_NAME%-%PKG_VERSION%-
%PKG_BUILD_STRING:~0,3%.%PKG_BUILD_STRING:~3,1%
-win32.egg\%PKG_NAME%\
)
::
)
IF
"
%ARCH%
"
==
"64"
(
::
IF "%ARCH%"=="64" (
::amd64
::
::amd64
type
%SP_DIR%
\
%PKG_NAME%
-
%PKG_VERSION%
-
py
2
.7
-win-amd
64
.egg\
%PKG_NAME%
\__init__.py
>>
header
.txt
::
type %SP_DIR%\%PKG_NAME%-%PKG_VERSION%-
%PKG_BUILD_STRING:~0,3%.%PKG_BUILD_STRING:~3,1%
-win-amd64.egg\%PKG_NAME%\__init__.py >> header.txt
del
%SP_DIR%
\
%PKG_NAME%
-
%PKG_VERSION%
-
py
2
.7
-win-amd
64
.egg\
%PKG_NAME%
\__init__.py
::
del %SP_DIR%\%PKG_NAME%-%PKG_VERSION%-
%PKG_BUILD_STRING:~0,3%.%PKG_BUILD_STRING:~3,1%
-win-amd64.egg\%PKG_NAME%\__init__.py
del
%SP_DIR%
\
%PKG_NAME%
-
%PKG_VERSION%
-
py
2
.7
-win-amd
64
.egg\
%PKG_NAME%
\__init__.pyc
::
del %SP_DIR%\%PKG_NAME%-%PKG_VERSION%-
%PKG_BUILD_STRING:~0,3%.%PKG_BUILD_STRING:~3,1%
-win-amd64.egg\%PKG_NAME%\__init__.pyc
ren
header
.txt __init__.py
::
ren header.txt __init__.py
move
__init__.py
%SP_DIR%
\
%PKG_NAME%
-
%PKG_VERSION%
-
py
2
.7
-win-amd
64
.egg\
%PKG_NAME%
\
::
move __init__.py %SP_DIR%\%PKG_NAME%-%PKG_VERSION%-
%PKG_BUILD_STRING:~0,3%.%PKG_BUILD_STRING:~3,1%
-win-amd64.egg\%PKG_NAME%\
)
::
)
:: See
:: See
:: http://docs.continuum.io/conda/build.html
:: http://docs.continuum.io/conda/build.html
...
...
This diff is collapsed.
Click to expand it.
orekit-conda-recipe/build.sh
+
18
−
16
View file @
5b67c77b
...
@@ -3,27 +3,29 @@
...
@@ -3,27 +3,29 @@
# add --shared for building shared version
# add --shared for building shared version
# classes directly on the list are wrapped as well as the jar's
# classes directly on the list are wrapped as well as the jar's
# This section is setting up the build to use the coda package java-jdk
# This section is setting up the build to use the coda package java-jdk
export
JCC_JDK
=
$PREFIX
#
export JCC_JDK=$PREFIX
export
JAVA_HOME
=
$JCC_JDK
#
export JAVA_HOME=$JCC_JDK
export
JAVAHOME
=
$JCC_JDK
#
export JAVAHOME=$JCC_JDK
export
LD_LIBRARY_PATH
=
$PREFIX
/jre/lib/amd64/server:
$PREFIX
/jre/lib/amd64:
$LD_LIBRARY_PATH
#
export LD_LIBRARY_PATH=$PREFIX/jre/lib/amd64/server:$PREFIX/jre/lib/amd64:$LD_LIBRARY_PATH
export
JCC_ARGSEP
=
";"
#export JCC_ARGSEP=";"
export
JCC_INCLUDES
=
"
$PREFIX
/include;
$PREFIX
/include/linux"
#export JCC_INCLUDES="$PREFIX/include;$PREFIX/include/linux"
export
JCC_LFLAGS
=
"-L
$PREFIX
/jre/lib/amd64;-ljava;-L
$PREFIX
/jre/lib/amd64/server;-ljvm;-lverify;-Wl,-rpath=
$PREFIX
/jre/lib/amd64:
$PREFIX
/jre/lib/amd64/server"
#export JCC_LFLAGS="-L$PREFIX/jre/lib/amd64;-ljava;-L$PREFIX/jre/lib/amd64/server;-ljvm;-lverify;-Wl,-rpath=$PREFIX/jre/lib/amd64:$PREFIX/jre/lib/amd64/server"
export
JCC_JAVAC
=
$PREFIX
/bin/javac
#export JCC_JAVAC=$PREFIX/bin/javac
export
MACOSX_DEPLOYMENT_TARGET
=
10.9
$PYTHON
-m
jcc
\
$PYTHON
-m
jcc
\
--use_full_names
\
--use_full_names
\
--python
orekit
\
--python
orekit
\
--version
8
.0
\
--version
9
.0
\
--jar
$RECIPE_DIR
/orekit-
8.1-SNAPSHOT
.jar
\
--jar
$RECIPE_DIR
/orekit-
9.0
.jar
\
--jar
$RECIPE_DIR
/hipparchus-core-1.
0
.jar
\
--jar
$RECIPE_DIR
/hipparchus-core-1.
1
.jar
\
--jar
$RECIPE_DIR
/hipparchus-fitting-1.
0
.jar
\
--jar
$RECIPE_DIR
/hipparchus-fitting-1.
1
.jar
\
--jar
$RECIPE_DIR
/hipparchus-geometry-1.
0
.jar
\
--jar
$RECIPE_DIR
/hipparchus-geometry-1.
1
.jar
\
--jar
$RECIPE_DIR
/hipparchus-ode-1.
0
.jar
\
--jar
$RECIPE_DIR
/hipparchus-ode-1.
1
.jar
\
--jar
$RECIPE_DIR
/hipparchus-optim-1.
0
.jar
\
--jar
$RECIPE_DIR
/hipparchus-optim-1.
1
.jar
\
--jar
$RECIPE_DIR
/hipparchus-stat-1.
0
.jar
\
--jar
$RECIPE_DIR
/hipparchus-stat-1.
1
.jar
\
--package
java.io
\
--package
java.io
\
--package
java.util
\
--package
java.util
\
--package
java.text
\
--package
java.text
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment