4
from scipy_distutils.misc_util import get_path, default_config_dict
6
def configuration(parent_package='',parent_path=None):
8
local_path = get_path(__name__,parent_path)
9
config = default_config_dict(package,parent_package)
11
if sys.platform == 'win32':
12
data = ['wgnuplot.exe', 'gnuplot_helper.exe']
13
data = [os.path.join(local_path,x) for x in data]
14
config['data_files'].append((os.path.join(parent_package,'gplt'),data))
17
if __name__ == '__main__':
18
from scipy_distutils.core import setup
19
setup(**configuration())