source: sasview/sansguiframe/setup.py @ 046af80

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 046af80 was e7e1fdd, checked in by Jae Cho <jhjcho@…>, 13 years ago

updating version numbers

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