source: sasview/guiframe/setup.py @ a4cd162

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 a4cd162 was 4356634, checked in by Jae Cho <jhjcho@…>, 14 years ago

preparing bug-fix release

  • Property mode set to 100644
File size: 1.3 KB
RevLine 
[c22305e]1
[41d466f]2"""
3    Installs the guiframe package
4"""
[bdcc69e]5
6   
[41d466f]7from distutils.core import setup, Extension
8
[b90decd]9from distutils.sysconfig import get_python_lib
[8db3904]10import os
11import sys
[3c47277]12
[007aa52]13
[8db3904]14   
15path = os.path.join(os.getcwd(), 'local_perspectives')
[b90decd]16package_dir = { "sans.guiframe":".",
[ba924ed]17                "sans.guiframe.local_perspectives":"local_perspectives",
[c22305e]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/*']}
[b90decd]24packages = ["sans.guiframe", 
[c22305e]25            "sans.guiframe.local_perspectives"]
[8db3904]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
[3c47277]32
[b90decd]33
[41d466f]34setup(
35    name="guiframe",
[4356634]36    version = "0.9.1",
[41d466f]37    description = "Python module for SANS gui framework",
38    author = "University of Tennessee",
39    url = "http://danse.chem.utk.edu",
40   
[b90decd]41    package_dir = package_dir,
42
43    packages = packages,
[df8a13e]44    package_data = package_data,
[c22305e]45
[3c47277]46    )
Note: See TracBrowser for help on using the repository browser.