tzlocal: Python timezone information for the local timezone#
Description#
tzinfo object for the local timezone
Type#
standard
Dependencies#
pytz_deprecation_shim: Shims to make deprecation of pytz easier
$(PYTHON_TOOLCHAIN)
$(PYTHON)
Version Information#
package-version.txt:
5.0.1
install-requires.txt:
tzlocal >=2.1
Equivalent System Packages#
arch:
$ sudo pacman -S python-tzlocal
conda:
$ conda install tzlocal
Debian/Ubuntu:
$ sudo apt-get install python3-tzlocal
Fedora/Redhat/CentOS:
$ sudo yum install python-tzlocal
freebsd:
$ sudo pkg install devel/py-tzlocal
gentoo:
$ sudo emerge dev-python/tzlocal
macports: install the following packages: py-tzlocal
opensuse:
$ sudo zypper install python3${PYTHON_MINOR}-tzlocal
void:
$ sudo xbps-install python3-tzlocal
See https://repology.org/project/tzlocal/versions, https://repology.org/project/python:tzlocal/versions
If the system package is installed and if the (experimental) option –enable-system-site-packages is passed to ./configure, then ./configure will check if the system package can be used.