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 9ade6ad was
3c47277,
checked in by Gervaise Alina <gervyh@…>, 13 years ago
|
working easy
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[c22305e] | 1 | |
---|
[41d466f] | 2 | """ |
---|
| 3 | Installs the guiframe package |
---|
| 4 | """ |
---|
[bdcc69e] | 5 | |
---|
| 6 | |
---|
[41d466f] | 7 | from distutils.core import setup, Extension |
---|
| 8 | |
---|
[b90decd] | 9 | from distutils.sysconfig import get_python_lib |
---|
[8db3904] | 10 | import os |
---|
| 11 | import sys |
---|
[3c47277] | 12 | |
---|
[007aa52] | 13 | |
---|
[8db3904] | 14 | |
---|
| 15 | path = os.path.join(os.getcwd(), 'local_perspectives') |
---|
[b90decd] | 16 | package_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/*']} |
---|
| 23 | package_data = {"sans.guiframe": ['images/*', 'media/*']} |
---|
[b90decd] | 24 | packages = ["sans.guiframe", |
---|
[c22305e] | 25 | "sans.guiframe.local_perspectives"] |
---|
[8db3904] | 26 | # build local plugin |
---|
| 27 | for 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] | 34 | setup( |
---|
| 35 | name="guiframe", |
---|
[3291855] | 36 | version = "0.9", |
---|
[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.