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 b18cf3d was
3bf406e9,
checked in by Gervaise Alina <gervyh@…>, 13 years ago
|
rename .egg file
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[c22305e] | 1 | |
---|
[41d466f] | 2 | """ |
---|
[4f82183] | 3 | Installs the guiframe package |
---|
[41d466f] | 4 | """ |
---|
[bdcc69e] | 5 | |
---|
[4f82183] | 6 | from distutils.core import setup |
---|
[8db3904] | 7 | import os |
---|
[3c47277] | 8 | |
---|
[b1d6858] | 9 | path = os.path.join(os.getcwd(), "src", "sans", |
---|
| 10 | "guiframe","local_perspectives") |
---|
| 11 | package_dir = {"sans":os.path.join("src", "sans"), |
---|
| 12 | "sans.guiframe":os.path.join("src", "sans", "guiframe"), |
---|
| 13 | "sans.guiframe.local_perspectives":path} |
---|
[007aa52] | 14 | |
---|
[c22305e] | 15 | package_data = {"sans.guiframe": ['images/*', 'media/*']} |
---|
[cf3042e] | 16 | packages = ["sans.guiframe", 'sans', |
---|
[c22305e] | 17 | "sans.guiframe.local_perspectives"] |
---|
[8db3904] | 18 | # build local plugin |
---|
| 19 | for dir in os.listdir(path): |
---|
| 20 | if dir not in ['.svn','__init__.py', '__init__.pyc']: |
---|
| 21 | package_name = "sans.guiframe.local_perspectives." + dir |
---|
| 22 | packages.append(package_name) |
---|
[b1d6858] | 23 | package_dir[package_name] = os.path.join("src", "sans", |
---|
[4f82183] | 24 | "guiframe", |
---|
[b1d6858] | 25 | "local_perspectives", dir) |
---|
[3c47277] | 26 | |
---|
[b90decd] | 27 | |
---|
[41d466f] | 28 | setup( |
---|
[3bf406e9] | 29 | name="sansguiframe", |
---|
[4356634] | 30 | version = "0.9.1", |
---|
[41d466f] | 31 | description = "Python module for SANS gui framework", |
---|
| 32 | author = "University of Tennessee", |
---|
| 33 | url = "http://danse.chem.utk.edu", |
---|
[b90decd] | 34 | package_dir = package_dir, |
---|
| 35 | packages = packages, |
---|
[df8a13e] | 36 | package_data = package_data, |
---|
[3c47277] | 37 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.