summarylogtreecommitdiffstats
path: root/data-install.patch
blob: 9b07da59ef74b2f41057007827701fead82ddea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 2b745d3cf03368c28aed30c6fae0990f51ec8f70 Mon Sep 17 00:00:00 2001
From: Colin Reeder <vpzomtrrfrt@gmail.com>
Date: Thu, 10 Feb 2022 21:12:42 -0700
Subject: [PATCH] Fix data paths for install

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 9a314e0..f3364ca 100644
--- a/setup.py
+++ b/setup.py
@@ -11,7 +11,7 @@
     name = "geomag",
     packages = ["geomag"],
     #data_files = [('geomag', ('geomag/WMM.COF',))],
-    package_data = {'geomag': ['WMM.COF','WMM2010.COF']},
+    package_data = {'geomag': ['model_data/WMM.COF','model_data/WMM2010.COF']},
     version = "0.9.2015",
     description = "Magnetic variation/declination",
     author = "Christopher Weiss",