Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 39 lines (29 sloc) 0.934 kB
import os
import sys
def setup_package():
from scipy.distutils.core import setup
from scipy.distutils.misc_util import Configuration
old_path = os.getcwd()
local_path = os.path.dirname(os.path.abspath(sys.argv[0]))
os.chdir(local_path)
sys.path.insert(0,local_path)
try:
config = Configuration(
maintainer = "SciPy Developers",
maintainer_email = "scipy-dev@scipy.org",
description = "Core SciPy",
url = "http://numeric.scipy.org",
license = 'BSD',
)
config.add_subpackage('scipy')
from scipy.core_version import version
config.name = 'scipy_core'
config.dict_append(version=version)
print config.name,'version',config.version
setup( **config.todict() )
finally:
del sys.path[0]
os.chdir(old_path)
return
if __name__ == '__main__':
setup_package()
Jump to Line
Something went wrong with that request. Please try again.