From 31b8797e4d1e6932436b7f4919e7e07640056f96 Mon Sep 17 00:00:00 2001 From: Milan Stute Date: Thu, 13 Jun 2019 23:59:35 +0200 Subject: [PATCH] Require Python >=3.6 Fixes #2 --- README.md | 3 ++- setup.py | 14 ++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 05e5b5d..1d0f4c6 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,8 @@ OpenDrop is not affiliated with or endorsed by Apple Inc. Use this code at your ## Requirements -To achieve compatibility with Apple AirDrop, OpenDrop requires the target platform to support a specific Wi-Fi link layer as well as several libraries. +To achieve compatibility with Apple AirDrop, OpenDrop requires the target platform to support a specific Wi-Fi link layer. +In addition, it requires Python >=3.6 as well as several libraries. **Apple Wireless Direct Link.** As AirDrop exclusively runs over Apple Wireless Direct Link (AWDL), OpenDrop is only supported on macOS or on Linux systems running diff --git a/setup.py b/setup.py index 6dc6a0f..06b38c9 100644 --- a/setup.py +++ b/setup.py @@ -10,27 +10,25 @@ with open(join(this_dir, 'README.md'), encoding='utf-8') as file: setup( name='opendrop', version=__version__, + python_requires='>=3.6', description='An Open Source AirDrop Implementation', long_description=long_description, url='https://owlink.org', author='Milan Stute, Alexander Heinrich', classifiers=[ - 'Intended Audience :: Developers', - 'Topic :: Utilities', - 'License :: Public Domain', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'Operating System :: MacOS', + 'Operating System :: POSIX :: Linux', 'Natural Language :: English', - 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.2', - 'Programming Language :: Python :: 3.3', - 'Programming Language :: Python :: 3.6.3', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', ], keywords='cli', packages=find_packages(exclude=['docs']), package_data={ 'opendrop': ['certs/*.pem'] }, - install_requires=['pycrypto', 'requests', 'fleep', 'netifaces', 'Pillow', 'requests_toolbelt', 'ctypescrypto', 'libarchive-c'], entry_points={