update packages in setup.py

This commit is contained in:
deesiigneer
2024-04-18 22:56:23 +05:00
parent 14166cf519
commit 8d60472b9a

View File

@@ -1,6 +1,6 @@
import re import re
from setuptools import setup from setuptools import setup, find_packages
requirements = [] requirements = []
with open("requirements.txt") as f: with open("requirements.txt") as f:
@@ -21,10 +21,6 @@ readme = ""
with open("README.rst") as f: with open("README.rst") as f:
readme = f.read() readme = f.read()
packages = [
"pyspapi"
]
setup( setup(
name='pyspapi', name='pyspapi',
license='MIT', license='MIT',
@@ -39,7 +35,8 @@ setup(
description='API wrapper for SP servers written in Python', description='API wrapper for SP servers written in Python',
long_description=readme, long_description=readme,
long_description_content_type='text/x-rst', long_description_content_type='text/x-rst',
packages=packages, packages=find_packages(),
package_data={'pyspapi': ['types/*', 'api/*']}, # Включаем дополнительные файлы и папки
include_package_data=True, include_package_data=True,
install_requires=requirements, install_requires=requirements,
python_requires='>=3.8.0', python_requires='>=3.8.0',