mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 09:22:03 +00:00
Use find_packages() instead of for PackageFinder.find() in setup.py
This commit is contained in:
parent
0de77cdea6
commit
41c764971b
1 changed files with 3 additions and 2 deletions
5
setup.py
5
setup.py
|
|
@ -3,7 +3,8 @@
|
|||
import sys
|
||||
from warnings import warn
|
||||
|
||||
from setuptools import PackageFinder, setup
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
try:
|
||||
from pip.req import parse_requirements
|
||||
except ModuleNotFoundError: # pip >= 10.0.0
|
||||
|
|
@ -48,7 +49,7 @@ install_requires = get_requirements()
|
|||
setup(
|
||||
name='aiogram',
|
||||
version=VERSION.version,
|
||||
packages=PackageFinder.find(exclude=('tests', 'tests.*', 'examples.*', 'docs',)),
|
||||
packages=find_packages(exclude=('tests', 'tests.*', 'examples.*', 'docs',)),
|
||||
url='https://github.com/aiogram/aiogram',
|
||||
license='MIT',
|
||||
author='Alex Root Junior',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue