Use setuptools instead of distutils. (no)

This commit is contained in:
Alex Root Junior 2018-04-09 00:31:28 +03:00
parent ca3aa504cf
commit 77867fe109

View file

@ -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',