source: sasview/guiframe/setup.py @ 8677607

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 8677607 was 4356634, checked in by Jae Cho <jhjcho@…>, 13 years ago

preparing bug-fix release

  • Property mode set to 100644
File size: 1.3 KB
Line 
1
2"""
3    Installs the guiframe package
4"""
5
6   
7from distutils.core import setup, Extension
8
9from distutils.sysconfig import get_python_lib
10import os
11import sys
12
13
14   
15path = os.path.join(os.getcwd(), 'local_perspectives')
16package_dir = { "sans.guiframe":".",
17                "sans.guiframe.local_perspectives":"local_perspectives",
18                #"sans.guiframe.images":"images",
19               # "sans.guiframe.media":"media",
20                }
21#package_data = {"sans.guiframe": ['images/*'],
22#                "sans.guiframe":'media/*']}
23package_data = {"sans.guiframe": ['images/*', 'media/*']}
24packages = ["sans.guiframe", 
25            "sans.guiframe.local_perspectives"]
26# build local plugin
27for dir in os.listdir(path):
28    if dir not in ['.svn','__init__.py', '__init__.pyc']:
29        package_name = "sans.guiframe.local_perspectives." + dir
30        packages.append(package_name)
31        package_dir[package_name] = "local_perspectives/" + dir
32
33
34setup(
35    name="guiframe",
36    version = "0.9.1",
37    description = "Python module for SANS gui framework",
38    author = "University of Tennessee",
39    url = "http://danse.chem.utk.edu",
40   
41    package_dir = package_dir,
42
43    packages = packages,
44    package_data = package_data,
45
46    )
Note: See TracBrowser for help on using the repository browser.