mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
Use setuptools instead of distutils. (no)
This commit is contained in:
parent
ca3aa504cf
commit
77867fe109
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
|
@ -1,11 +1,10 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from distutils.core import setup
|
|
||||||
from warnings import warn
|
from warnings import warn
|
||||||
|
|
||||||
from pip.req import parse_requirements
|
from pip.req import parse_requirements
|
||||||
from setuptools import PackageFinder
|
from setuptools import PackageFinder, setup
|
||||||
|
|
||||||
from aiogram import Stage, VERSION
|
from aiogram import Stage, VERSION
|
||||||
|
|
||||||
|
|
@ -47,6 +46,7 @@ setup(
|
||||||
name='aiogram',
|
name='aiogram',
|
||||||
version=VERSION.version,
|
version=VERSION.version,
|
||||||
packages=PackageFinder.find(exclude=('tests', 'tests.*', 'examples.*', 'docs',)),
|
packages=PackageFinder.find(exclude=('tests', 'tests.*', 'examples.*', 'docs',)),
|
||||||
|
requires_python='>=3.6',
|
||||||
url='https://github.com/aiogram/aiogram',
|
url='https://github.com/aiogram/aiogram',
|
||||||
license='MIT',
|
license='MIT',
|
||||||
author='Alex Root Junior',
|
author='Alex Root Junior',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue