mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Use find_namespace_packages in setup.py (#2402)
This commit is contained in:
parent
571332ae18
commit
3a4d932d2b
6
setup.py
6
setup.py
@ -1,6 +1,6 @@
|
||||
import os
|
||||
import re
|
||||
from setuptools import setup, find_packages
|
||||
from setuptools import setup, find_namespace_packages
|
||||
|
||||
install_requires = [
|
||||
"aiohttp-json-rpc==0.11.2",
|
||||
@ -76,8 +76,8 @@ if __name__ == "__main__":
|
||||
setup(
|
||||
name="Red-DiscordBot",
|
||||
version=get_version(),
|
||||
packages=(
|
||||
find_packages(include=("redbot", "redbot.*")) + ["discord", "discord.ext.commands"]
|
||||
packages=find_namespace_packages(
|
||||
include=["redbot", "redbot.*", "discord", "discord.ext.commands"]
|
||||
),
|
||||
package_data={"": ["locales/*.po", "data/*", "data/**/*"]},
|
||||
url="https://github.com/Cog-Creators/Red-DiscordBot",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user