Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (26 sloc) 971 Bytes
#!/usr/bin/env python
import glob
from numpy.distutils.core import setup, Extension
import pickle
import get_docstring
# Generate documentation dictionary and save it in "lib/"
docstring = get_docstring.get_docstring()
f = open("lib/docstring_pickle.pkl", "wb")
pickle.dump(docstring, f)
f.close()
ext1 = Extension(name = 'pyslalib.slalib',
include_dirs = ['.'],
sources = ['slalib.pyf']+\
glob.glob("*.f")+\
glob.glob("*.F"))
if __name__ == "__main__":
setup(name = 'pySLALIB',
description = "f2py and numpy based wrappers for SLALIB",
version = "1.0.4",
author = "Scott Ransom",
author_email = "sransom@nrao.edu",
packages = ['pyslalib'],
package_dir = {'pyslalib': 'lib'},
package_data = {'pyslalib': ['docstring_pickle.pkl']},
ext_modules = [ext1]
)