Instruct Python to add schema.sql file to the package
This commit is contained in:
parent
6cc9688e49
commit
8465c4a977
@ -1,7 +1,7 @@
|
|||||||
## Include
|
## Include
|
||||||
include README.md COPYING COPYING.lesser NOTICE requirements.txt
|
include README.md COPYING COPYING.lesser NOTICE requirements.txt
|
||||||
recursive-include compiler *.py *.tl *.tsv *.txt
|
recursive-include compiler *.py *.tl *.tsv *.txt
|
||||||
recursive-include pyrogram mime.types
|
recursive-include pyrogram mime.types schema.sql
|
||||||
|
|
||||||
## Exclude
|
## Exclude
|
||||||
prune pyrogram/api/errors/exceptions
|
prune pyrogram/api/errors/exceptions
|
||||||
|
3
setup.py
3
setup.py
@ -168,7 +168,8 @@ setup(
|
|||||||
python_requires="~=3.4",
|
python_requires="~=3.4",
|
||||||
packages=find_packages(exclude=["compiler*"]),
|
packages=find_packages(exclude=["compiler*"]),
|
||||||
package_data={
|
package_data={
|
||||||
"pyrogram.client.ext": ["mime.types"]
|
"pyrogram.client.ext": ["mime.types"],
|
||||||
|
"pyrogram.client.storage": ["schema.sql"]
|
||||||
},
|
},
|
||||||
zip_safe=False,
|
zip_safe=False,
|
||||||
install_requires=requires,
|
install_requires=requires,
|
||||||
|
Loading…
Reference in New Issue
Block a user