@@ -18,38 +18,22 @@ It depends on the following packages:
18
18
* swat
19
19
* pandas
20
20
21
- Getting swat
22
- ------------
23
-
24
- `swat <https://github.com/sassoftware/python-swat >`_ package is a requirement
25
- to use SAS Viya solvers.
26
-
27
- swat releases are listed at
28
- `<https://github.com/sassoftware/python-swat/releases >`_.
29
- After downloading the platform-specific release file, it can be installed using
30
- pip::
31
-
32
- pip install python-swat-X.X.X-platform.tar.gz
33
-
34
- Getting saspy
35
- -------------
21
+ Getting sasoptpy
22
+ ----------------
36
23
37
- `saspy <https://github.com/sassoftware/saspy >`_ package is a requirement to use
38
- SAS 9.4 solvers.
24
+ *sasoptpy * can be installed using `pip ` or `conda `::
39
25
40
- saspy releases are listed at
41
- `<https://github.com/sassoftware/saspy/releases >`_.
42
- The easiest way to download the latest stable version of saspy is to use::
26
+ pip install sasoptpy
43
27
44
- pip install saspy
28
+ conda install -c sas-institute sasoptpy
45
29
46
-
47
- Getting sasoptpy
48
- ----------------
30
+ Any dependencies should be installed automatically.
31
+
32
+ GitHub repository
33
+ +++++++++++++++++
49
34
50
- The latest available version of *sasoptpy * can be obtained from the online
51
- repository.
52
- Call::
35
+ You can also get stable and development versions of *sasoptpy * from the GitHub repository.
36
+ To get the latest version, call::
53
37
54
38
git clone https://github.com/sassoftware/sasoptpy.git
55
39
@@ -62,52 +46,3 @@ Alternatively, you can use::
62
46
python setup.py install
63
47
64
48
65
- Step-by-step installation
66
- -------------------------
67
-
68
- #. **Installing pandas and numpy **
69
-
70
- First, download and install numpy and pandas using pip:
71
-
72
- .. code-block :: bash
73
-
74
- pip install numpy
75
- pip install pandas
76
-
77
-
78
- #. **Installing the swat package **
79
-
80
- First, check the
81
- `swat release page <https://github.com/sassoftware/python-swat/releases >`_
82
- to find the latest release of the SAS-SWAT package for your environment.
83
-
84
- Then install it using
85
-
86
- .. code-block :: bash
87
-
88
- pip install python-swat-X.X.X.platform.tar.gz
89
-
90
- As an example, run
91
-
92
- .. code-block :: bash
93
-
94
- wget https://github.com/sassoftware/python-swat/releases/download/v1.2.1/python-swat-1.2.1-linux64.tar.gz
95
- pip install python-swat-1.2.1-linux64.tar.gz
96
-
97
- to install the version 1.2.1 of the swat package for 64-bit Linux
98
- environments.
99
-
100
- #. **Installing sasoptpy **
101
-
102
- Finally you can install *sasoptpy * by downloading the latest archive file
103
- and install via pip.
104
-
105
- .. code-block :: bash
106
-
107
- wget * url-to-sasoptpy.tar.gz*
108
- pip install sasoptpy.tar.gz
109
-
110
- Latest release file is available at
111
- `Github releases <https://github.com/sassoftware/sasoptpy/releases/latest >`_
112
- page.
113
-
0 commit comments