Skip to content

petrushy/orekit_python_artifacts

Repository files navigation

orekit_python_artifacts

Primary jar's for python orekit

To update:

  • Update branch name of this repository to version-X.Y. Only major and minor versions.
  • Copy new python orekit jar from https://github.com/petrushy/Orekit to repository, add jar to this repo.
  • Remove old python jar from repository
  • Check if updated hipparcus libraries exist, in that case update the ones in repo
  • Generate stub files:
    • install stubgenj (https://gitlab.cern.ch/scripting-tools/stubgenj) and jpype
    • stubs are installed as a separate "package", located in orekit_stubs
    • subs are generated from both the java and javadoc jar files (generate with mvn javadoc:jar -Dmaven.javadoc.failOnError)
    • remove the old data dirs in orekit_stubs, while in the orekit_stubs directory:
    • python -m stubgenj --convert-strings --classpath "../*.jar" org.orekit org.hipparchus

in the orekit-feedstock repo:

  • to use local file system for testing:

source: path: ../../orekit_python_artifacts