diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..c532dfb --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vk_api"] + path = vk_api + url = https://github.com/qwertyadrian/vk_api diff --git a/requirements.txt b/requirements.txt index 5920dd7..458e2b6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,3 @@ -vk_api @ git+https://github.com/python273/vk_api@master pyrogram==2.0.106 tgcrypto loguru==0.7.2 diff --git a/setup.py b/setup.py index 08b8e6f..e71dd2d 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- import re -from setuptools import setup, find_packages +from setuptools import setup with open("requirements.txt", encoding="utf-8") as r: @@ -30,7 +30,11 @@ license="MIT License", platforms=["OS Independent"], - packages=find_packages(), + package_dir={ + "TG_AutoPoster": "TG_AutoPoster", + "vk_api": "vk_api/vk_api", + "jconfig": "vk_api/jconfig", + }, install_requires=requires, classifiers=[ diff --git a/vk_api b/vk_api new file mode 160000 index 0000000..77b5a0d --- /dev/null +++ b/vk_api @@ -0,0 +1 @@ +Subproject commit 77b5a0d51a6bbf54d59554332f28a488615fbd6c