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