Skip to content

Commit

Permalink
more updates to packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
rahil-makadia committed Apr 7, 2024
1 parent d3d765e commit 18ddfe6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion grss/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.0
3.9.1
6 changes: 1 addition & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords = [
"asteroids",
"comets",
"orbit determination",
"orbit propagator"
"orbit propagation"
]
authors = [
{name = "Rahil Makadia"},
Expand Down Expand Up @@ -51,10 +51,6 @@ requires = ["setuptools>=43.0.0"]
package-data = {"grss" = [
"debias/get_debiasing_data.py",
"kernels/get_kernels.py",
"kernels/*.log",
"kernels/*.tm",
"kernels/*.tpc",
"kernels/*.txt",
]}
include-package-data = true

Expand Down
3 changes: 0 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,6 @@ def build_extension(self, ext: CMakeExtension) -> None:
os.system(f"cp {ext.sourcedir}/build/libgrss* {self.build_lib}/grss/")
return

# get version from version.txt
with open("grss/version.txt", "r", encoding="utf-8") as f:
ver = f.read().strip()
# run get_cspice in the extern folder if installing from source
if (not os.path.exists("./extern/cspice/lib/cspice.a") or
not os.path.exists("./extern/cspice/include/SpiceUsr.h") ):
Expand Down

0 comments on commit 18ddfe6

Please sign in to comment.