-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pin package versions to avoid upstream surprises
The latest `coverage` version (6.x beta) was being pulled in automatically, but it drops support for Python 2.7. Pin all version to avoid any surprises in the future.
- Loading branch information
Showing
2 changed files
with
27 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,43 @@ | ||
__title__ = 'pygatt' | ||
__version__ = '4.0.5' | ||
__license__ = 'Apache License, Version 2.0 and MIT License' | ||
__copyright__ = 'Copyright 2015 Stratos Inc. and Orion Labs' | ||
__title__ = "pygatt" | ||
__version__ = "4.0.5" | ||
__license__ = "Apache License, Version 2.0 and MIT License" | ||
__copyright__ = "Copyright 2015 Stratos Inc. and Orion Labs" | ||
|
||
try: | ||
from setuptools import setup, find_packages | ||
except ImportError: | ||
from distutils.core import setup # pylint: disable=F0401,E0611 | ||
|
||
with open('README.rst') as f: | ||
with open("README.rst") as f: | ||
readme = f.read() | ||
with open('CHANGELOG.rst') as f: | ||
with open("CHANGELOG.rst") as f: | ||
changelog = f.read() | ||
|
||
setup( | ||
name=__title__, | ||
version=__version__, | ||
description='Python Bluetooth LE (Low Energy) and GATT Library', | ||
author='Chris Peplin <[email protected]>', | ||
author_email='[email protected]', | ||
description="Python Bluetooth LE (Low Energy) and GATT Library", | ||
author="Chris Peplin <[email protected]>", | ||
author_email="[email protected]", | ||
packages=find_packages(exclude=("tests", "tests.*")), | ||
package_data={'': ['LICENSE']}, | ||
package_data={"": ["LICENSE"]}, | ||
license="Apache 2.0 and MIT", | ||
long_description=readme + '\n\n' + changelog, | ||
url='https://github.com/peplin/pygatt', | ||
install_requires=[ | ||
'pyserial', | ||
'enum-compat' | ||
], | ||
setup_requires=[ | ||
'coverage >= 3.7.1', | ||
'nose >= 1.3.7' | ||
], | ||
long_description=readme + "\n\n" + changelog, | ||
url="https://github.com/peplin/pygatt", | ||
install_requires=["pyserial", "enum-compat"], | ||
setup_requires=["coverage == 5.5", "nose == 1.3.7"], | ||
extras_require={ | ||
'GATTTOOL': ["pexpect"], | ||
"GATTTOOL": ["pexpect"], | ||
}, | ||
package_dir={'pygatt': 'pygatt'}, | ||
package_dir={"pygatt": "pygatt"}, | ||
zip_safe=False, | ||
include_package_data=True, | ||
classifiers=( | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: Apache Software License', | ||
'License :: OSI Approved :: MIT License', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
) | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
), | ||
) |