root/PythonPackages/install_all.py

Revision 1295, 0.6 kB (checked in by dmitrey, 2 months ago)

minor install routines changes

Line 
1 try:
2     import setuptools
3 except:
4     print('you should have setuptools installed (http://pypi.python.org/pypi/setuptools), for some Linux distribs you can get it via [sudo] apt-get install python-setuptools')
5     print('press Enter for exit...')
6     raw_input()
7     exit()
8
9 import os, sys
10 for moduleName in ['DerApproximator', 'FuncDesigner', 'OpenOpt', 'SpaceFuncs']:
11     print(moduleName + ' installation:')
12     os.chdir(moduleName)
13     os.system('\"%s\" setup.py install' % sys.executable)
14     #os.system('%s setup.py install' % sys.executable)
15     os.chdir('..')
Note: See TracBrowser for help on using the browser.