-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
84 lines (66 loc) · 2.92 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
################################################################################
#DEPENDENCIES
################################################################################
REQUIRED:
python
pydot
graphviz
pyx
OPTIONAL:
ipython
pyfeyn (used for generating Feynman diagrams; this function is still in alpha testing)
################################################################################
# SETUP - UNIX
################################################################################
#SETUP:
To get PyDecay set up in a Unix environment, do:
pydecay/ > sudo python setup.py install
The most common errors that could occur at this stage are dependency errors.
If you are missing one of the required packages, setup.py will not complete correctly.
If you receive an error that is not based on a package dependency, pleaseask for help on the githup pydecay page.
#TEST THE INSTALL:
To test that your install has worked, open a new terminal and do:
~ > python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pydecay
>>> exit()
~ >
If no warnings or errors appear, your install was successful.
#IPYTHON INSTALL TEST:
If you would like to test your install in ipython, open a new terminal and do:
~ > ipython
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
Type "copyright", "credits" or "license" for more information.
IPython 0.10.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: import pydecay
In [2]: pydecay. [TAB COMPLETE]
pydecay.BRANCHING_FRACTION_PARAM pydecay.__getattribute__
pydecay.DECAY_MODE_IMPL pydecay.__hash__
pydecay.Decay pydecay.__init__
pydecay.DecayConsistencyError pydecay.__name__
pydecay.DecayElement pydecay.__new__
pydecay.DoesNotExist pydecay.__package__
pydecay.PARTICLE_TYPE_IMPL pydecay.__path__
pydecay.Particle pydecay.__reduce__
pydecay.ProcessGroup pydecay.__reduce_ex__
pydecay.__builtins__ pydecay.__repr__
pydecay.__class__ pydecay.__setattr__
pydecay.__delattr__ pydecay.__sizeof__
pydecay.__dict__ pydecay.__str__
pydecay.__doc__ pydecay.__subclasshook__
pydecay.__file__ pydecay.db
pydecay.__format__ pydecay.settings
In [2]: exit()
Do you really want to exit ([y]/n)? y
~ >
If there were no warnings or errors, and the TAB complete showed a list of PyDecay packages(?), then your install was successful.
################################################################################
# EXAMPLES
################################################################################
See the README file for examples.