CI: Enable testing on macOS and Windows (#707)

This commit is contained in:
Andreas Motl
2022-10-30 13:31:57 -07:00
committed by GitHub
parent 4fc4b8e95f
commit cddd5c4fb3
14 changed files with 150 additions and 58 deletions

View File

@ -27,6 +27,8 @@
import re
import os
import platform
import sys
from setuptools import find_packages, setup
cmdclass = {}
@ -43,7 +45,8 @@ except ImportError:
install_options = os.environ.get("APPRISE_INSTALL", "").split(",")
install_requires = open('requirements.txt').readlines()
if platform.system().lower().startswith('win'):
if platform.system().lower().startswith('win') \
and not hasattr(sys, "pypy_version_info"):
# Windows Notification Support
install_requires += open('win-requirements.txt').readlines()
@ -60,7 +63,7 @@ setup(
version='1.1.0',
description='Push Notifications that work with just about every platform!',
license='MIT',
long_description=open('README.md').read(),
long_description=open('README.md', encoding="utf-8").read(),
long_description_content_type='text/markdown',
cmdclass=cmdclass,
url='https://github.com/caronc/apprise',