Skip to content

Commit

Permalink
pysg2: fix setup.py to include all files required for sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
gschwind-mines committed Aug 22, 2024
1 parent db57286 commit 67e372a
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,34 @@
import os, sys, re

params = {
'include_dirs': [numpy.get_include(), "third-parties/python-bind-helper", "src"],
'include_dirs': [
numpy.get_include(),
"third-parties/python-bind-helper",
"src"
],
'sources': [
"python/pysg2.cxx",
"src/sg2.cxx",
"src/sg2_data_handler.cxx",
"src/sg2_date.cxx",
"src/sg2_utils.cxx",
"src/sg2_geocentric.cxx",
"src/sg2_geocentric_data.cxx",
"src/sg2_geopoint.cxx",
"src/sg2_topocentric.cxx",
"src/sg2_data_handler.cxx",
"src/sg2_geocentric_data.cxx"
"src/sg2_utils.cxx"
],
'depends': [
"src/sg2_data_handler.hxx",
"src/sg2_date.hxx",
"src/sg2_err.hxx",
"src/sg2_geocentric.hxx",
"src/sg2_geopoint.hxx",
"src/sg2.hxx",
"src/sg2_math.hxx",
"src/sg2_topocentric.hxx",
"src/sg2_typedef.hxx",
"src/sg2_utils.hxx",
"third-parties/python-bind-helper/python-bind-helper.hxx"
]
}

Expand Down

0 comments on commit 67e372a

Please sign in to comment.