require python 3.7

This commit is contained in:
Lex Berezhny 2018-07-21 16:24:37 -04:00 committed by Jack Robison
parent 0b1cb16353
commit 005a131440
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
sudo: true
dist: xenial dist: xenial
sudo: true
language: python language: python
python: python:
- "3.7" - "3.7"

View file

@ -49,14 +49,13 @@ def package_files(directory):
yield os.path.join('..', path, filename) yield os.path.join('..', path, filename)
package_name = "lbry"
base_dir = os.path.abspath(os.path.dirname(__file__)) base_dir = os.path.abspath(os.path.dirname(__file__))
# Get the long description from the README file # Get the long description from the README file
with open(os.path.join(base_dir, 'README.md'), 'rb') as f: with open(os.path.join(base_dir, 'README.md'), 'rb') as f:
long_description = f.read().decode('utf-8') long_description = f.read().decode('utf-8')
setup( setup(
name=package_name, name="lbry",
version=__version__, version=__version__,
author="LBRY Inc.", author="LBRY Inc.",
author_email="hello@lbry.io", author_email="hello@lbry.io",
@ -65,6 +64,7 @@ setup(
long_description=long_description, long_description=long_description,
keywords="lbry protocol media", keywords="lbry protocol media",
license='MIT', license='MIT',
python_requires='>=3.7',
packages=find_packages(exclude=('tests',)), packages=find_packages(exclude=('tests',)),
install_requires=requires, install_requires=requires,
entry_points={'console_scripts': console_scripts}, entry_points={'console_scripts': console_scripts},