From 77867fe109b4034a968039facb7f56ce191b67a2 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Mon, 9 Apr 2018 00:31:28 +0300 Subject: [PATCH] Use setuptools instead of distutils. (no) --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index be9694df..390a4d79 100755 --- a/setup.py +++ b/setup.py @@ -1,11 +1,10 @@ #!/usr/bin/env python3 import sys -from distutils.core import setup from warnings import warn from pip.req import parse_requirements -from setuptools import PackageFinder +from setuptools import PackageFinder, setup from aiogram import Stage, VERSION @@ -47,6 +46,7 @@ setup( name='aiogram', version=VERSION.version, packages=PackageFinder.find(exclude=('tests', 'tests.*', 'examples.*', 'docs',)), + requires_python='>=3.6', url='https://github.com/aiogram/aiogram', license='MIT', author='Alex Root Junior',