mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Instruct Python to add schema.sql file to the package
This commit is contained in:
parent
6cc9688e49
commit
8465c4a977
2 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
## Include
|
||||
include README.md COPYING COPYING.lesser NOTICE requirements.txt
|
||||
recursive-include compiler *.py *.tl *.tsv *.txt
|
||||
recursive-include pyrogram mime.types
|
||||
recursive-include pyrogram mime.types schema.sql
|
||||
|
||||
## Exclude
|
||||
prune pyrogram/api/errors/exceptions
|
||||
|
|
|
|||
3
setup.py
3
setup.py
|
|
@ -168,7 +168,8 @@ setup(
|
|||
python_requires="~=3.4",
|
||||
packages=find_packages(exclude=["compiler*"]),
|
||||
package_data={
|
||||
"pyrogram.client.ext": ["mime.types"]
|
||||
"pyrogram.client.ext": ["mime.types"],
|
||||
"pyrogram.client.storage": ["schema.sql"]
|
||||
},
|
||||
zip_safe=False,
|
||||
install_requires=requires,
|
||||
|
|
|
|||
Loading…
Reference in a new issue