mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
29 lines
732 B
Python
29 lines
732 B
Python
"""
|
|
Vdirsyncer synchronizes calendars and contacts.
|
|
"""
|
|
|
|
|
|
PROJECT_HOME = "https://github.com/pimutils/vdirsyncer"
|
|
BUGTRACKER_HOME = PROJECT_HOME + "/issues"
|
|
DOCS_HOME = "https://vdirsyncer.pimutils.org/en/stable"
|
|
|
|
try:
|
|
from .version import version as __version__ # noqa
|
|
except ImportError: # pragma: no cover
|
|
raise ImportError(
|
|
"Failed to find (autogenerated) version.py. "
|
|
"This might be because you are installing from GitHub's tarballs, "
|
|
"use the PyPI ones."
|
|
)
|
|
|
|
|
|
def _check_python_version():
|
|
import sys
|
|
|
|
if sys.version_info < (3, 7, 0): # noqa: UP036
|
|
print("vdirsyncer requires at least Python 3.7.")
|
|
sys.exit(1)
|
|
|
|
|
|
_check_python_version()
|
|
del _check_python_version
|