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 2e27cf85 was
935ae18,
checked in by Gervaise Alina <gervyh@…>, 15 years ago
|
setup for invariant
|
-
Property mode set to
100644
|
File size:
837 bytes
|
Line | |
---|
1 | """ |
---|
2 | Installation script for DANSE calculator perspective for SansView |
---|
3 | """ |
---|
4 | |
---|
5 | |
---|
6 | import os |
---|
7 | |
---|
8 | from distutils.core import setup |
---|
9 | from distutils.sysconfig import get_python_lib |
---|
10 | from distutils.filelist import findall |
---|
11 | new_path = os.path.join(get_python_lib(),"sans","perspectives","invariant","media") |
---|
12 | path = "media" |
---|
13 | data_files = [] |
---|
14 | for f in findall(path): |
---|
15 | if os.path.split(f)[0].count('.svn')==0: |
---|
16 | data_files.append((new_path, [f])) |
---|
17 | from distutils.core import setup |
---|
18 | setup( |
---|
19 | name="invariant", |
---|
20 | description = "Invariant perspective for SansView", |
---|
21 | package_dir = {"sans.perspectives":"perspectives", |
---|
22 | "sans.perspectives.invariant":"perspectives/invariant"}, |
---|
23 | data_files=data_files, |
---|
24 | packages = ["sans.perspectives", |
---|
25 | "sans.perspectives.invariant"], |
---|
26 | ) |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.