Skip to content

Commit 2a7723a

Browse files
committed
remove anaconda from build
1 parent a730267 commit 2a7723a

File tree

2 files changed

+11
-22
lines changed

2 files changed

+11
-22
lines changed

cicd/install-tk.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,15 +247,17 @@ def get_python_versions(platform):
247247
be used.
248248
249249
'''
250-
cmd = ['conda', 'search', '-q', '--json', '--subdir', platform, 'defaults::pandas']
251-
out = subprocess.check_output(cmd)
252250

253251
versions = set()
254-
for item in json.loads(out)['pandas']:
255-
pyver = [x for x in item['depends'] if x.startswith('python')][0]
256-
pyver = re.findall(r'(\d+\.\d+)(?:\.\d+)?', pyver)[0]
257-
versions.add(pyver)
258-
252+
versions.add('2.7')
253+
versions.add('3.4')
254+
versions.add('3.6')
255+
versions.add('3.7')
256+
versions.add('3.8')
257+
versions.add('3.9')
258+
versions.add('3.10')
259+
versions.add('3.11')
260+
versions.add('3.12')
259261
return versions
260262

261263

doc/source/install.rst

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Installation
77
The SWAT package is installed using the ``pip`` command. The requirements
88
for using the binary protocol of CAS (recommended) are as follows.
99

10-
* **64-bit** Python 2.7 or 3.5+ on Linux or Windows
10+
* **64-bit** Python 3.7 - 3.11 on Linux or Windows
1111

1212
See additional shared library notes below.
1313

@@ -26,11 +26,6 @@ For more information, see :ref:`Binary vs. REST <binaryvsrest>`.
2626
Note that this package is merely a client to a CAS server. It has no utility unless
2727
you have a licensed CAS server to connect to.
2828

29-
If you do not already have a modern Python installation, it is highly recommended
30-
that you install the `Anaconda Python distribution <https://www.continuum.io/downloads>`_
31-
from Continuum Analytics. This distribution includes dozens of commonly used Python
32-
packages, and can even be installed without administrator privileges.
33-
3429
If you do not have ``pip`` installed, you can use ``easy_install pip`` to add
3530
it to your current Python installation.
3631

@@ -53,7 +48,7 @@ Python Dependencies
5348

5449
The SWAT package uses many features of the Pandas Python package and other
5550
dependencies of Pandas. If you do not already have version 0.16 or greater
56-
of Pandas installed, ``pip`` or ``conda`` will install or update it for you when you
51+
of Pandas installed, ``pip`` will install or update it for you when you
5752
install SWAT.
5853

5954
If you are using ``pip`` version 23.1 or later to install from a tar.gz file, the python
@@ -68,14 +63,6 @@ The latest release of SWAT can be installed from PyPI using ``pip`` as follows:
6863
pip install swat
6964

7065

71-
Conda
72-
-----
73-
74-
If you use an Anaconda distribution of Python, you can use ``conda`` to install SWAT:
75-
76-
conda install -c sas-institute swat
77-
78-
7966
Github
8067
------
8168

0 commit comments

Comments
 (0)