Skip to content

Commit 483e4a9

Browse files
committed
Modified to build on more systems
1 parent 71fe35b commit 483e4a9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
import numpy.distutils.core
66
import os
77

8+
89
from numpy.distutils.misc_util import Configuration
910
# from numpy.distutils.command.bdist import bdist as bdist
11+
# from numpy.distutils.command.sdist import sdist as sdist
12+
from distutils.command.sdist import sdist
1013

1114
config = Configuration('pysatMagVect')
1215

@@ -32,7 +35,7 @@
3235
description= ''.join(('Calculates geomagnetic unit vectors (field aligned, zonal, and meridional) '
3336
'and includes supporting routines for characterizing the motion of ionospheric plasma.')),
3437
url='http://github.com/rstoneback/pysatMagVect',
35-
# cmdclass={'bdist': bdist},
38+
cmdclass={'sdist': sdist},
3639

3740
# Author details
3841
author='Russell Stoneback',

0 commit comments

Comments
 (0)