|
8 | 8 | import numpy as np |
9 | 9 |
|
10 | 10 | from numpy.distutils.misc_util import Configuration |
| 11 | +from numpy.distutils.command.sdist import sdist as sdist |
11 | 12 |
|
12 | 13 | config = Configuration('pysatMagVect') |
13 | 14 |
|
|
16 | 17 | sources = [os.path.join('pysatMagVect', 'igrf12.f')] |
17 | 18 | ) |
18 | 19 |
|
19 | | -here = os.path.abspath(os.path.dirname(__file__)) |
20 | | -#with open(path.join(here, 'description.txt'), encoding='utf-8') as f: |
21 | | -# long_description = f.read() |
22 | | -version_filename = os.path.join('pysatMagVect', 'version.txt') |
23 | | -with open(os.path.join(here, version_filename)) as version_file: |
24 | | - version = version_file.read().strip() |
| 20 | +# here = os.path.abspath(os.path.dirname(__file__)) |
| 21 | +# #with open(path.join(here, 'description.txt'), encoding='utf-8') as f: |
| 22 | +# # long_description = f.read() |
| 23 | +# version_filename = os.path.join('pysatMagVect', 'version.txt') |
| 24 | +# with open(os.path.join(here, version_filename)) as version_file: |
| 25 | +# version = version_file.read().strip() |
25 | 26 |
|
26 | 27 | # call setup |
27 | 28 | #-------------------------------------------------------------------------- |
28 | 29 | numpy.distutils.core.setup( |
29 | 30 |
|
30 | 31 | name = 'pysatMagVect', |
31 | | - version = version, |
| 32 | + version = '0.1.3', |
32 | 33 | packages = ['pysatMagVect','pysatMagVect.tests'], |
33 | 34 | description= ''.join(('Calculates geomagnetic unit vectors (field aligned, zonal, and meridional) ' |
34 | 35 | 'and includes supporting routines for characterizing the motion of ionospheric plasma.')), |
35 | | - # cmdclass={'sdist': sdist}, |
| 36 | + # cmdclass={'sdist': numpy.distutils.command.sdist}, |
36 | 37 |
|
37 | 38 | # Author details |
38 | 39 | author='Russell Stoneback', |
39 | 40 | author_email='rstoneba@utdallas.edu', |
40 | | - package_data={'pysatMagVect': ['pysatMagVect/version.txt'],}, |
41 | | - include_package_data=True, |
| 41 | + # package_data={'pysatMagVect': ['pysatMagVect/version.txt']}, |
| 42 | + # include_package_data=True, |
42 | 43 |
|
43 | 44 | ext_modules = config.todict()['ext_modules'], |
44 | 45 |
|
45 | | - install_requires = ['numpy', 'scipy'], |
| 46 | + install_requires = ['numpy', 'scipy',], |
46 | 47 |
|
47 | 48 | ) |
48 | 49 |
|
|
0 commit comments