diff --git a/cicd/install-tk.py b/cicd/install-tk.py index 2b17cc30..a4d05d6e 100755 --- a/cicd/install-tk.py +++ b/cicd/install-tk.py @@ -247,15 +247,17 @@ def get_python_versions(platform): be used. ''' - cmd = ['conda', 'search', '-q', '--json', '--subdir', platform, 'defaults::pandas'] - out = subprocess.check_output(cmd) versions = set() - for item in json.loads(out)['pandas']: - pyver = [x for x in item['depends'] if x.startswith('python')][0] - pyver = re.findall(r'(\d+\.\d+)(?:\.\d+)?', pyver)[0] - versions.add(pyver) - + versions.add('2.7') + versions.add('3.4') + versions.add('3.6') + versions.add('3.7') + versions.add('3.8') + versions.add('3.9') + versions.add('3.10') + versions.add('3.11') + versions.add('3.12') return versions diff --git a/doc/source/install.rst b/doc/source/install.rst index 06aaab38..cecb4c8d 100755 --- a/doc/source/install.rst +++ b/doc/source/install.rst @@ -7,7 +7,7 @@ Installation The SWAT package is installed using the ``pip`` command. The requirements for using the binary protocol of CAS (recommended) are as follows. -* **64-bit** Python 2.7 or 3.5+ on Linux or Windows +* **64-bit** Python 3.7 - 3.11 on Linux or Windows See additional shared library notes below. @@ -26,11 +26,6 @@ For more information, see :ref:`Binary vs. REST `. Note that this package is merely a client to a CAS server. It has no utility unless you have a licensed CAS server to connect to. -If you do not already have a modern Python installation, it is highly recommended -that you install the `Anaconda Python distribution `_ -from Continuum Analytics. This distribution includes dozens of commonly used Python -packages, and can even be installed without administrator privileges. - If you do not have ``pip`` installed, you can use ``easy_install pip`` to add it to your current Python installation. @@ -53,7 +48,7 @@ Python Dependencies The SWAT package uses many features of the Pandas Python package and other dependencies of Pandas. If you do not already have version 0.16 or greater -of Pandas installed, ``pip`` or ``conda`` will install or update it for you when you +of Pandas installed, ``pip`` will install or update it for you when you install SWAT. 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: pip install swat -Conda ------ - -If you use an Anaconda distribution of Python, you can use ``conda`` to install SWAT: - - conda install -c sas-institute swat - - Github ------