mirror of
https://github.com/deesiigneer/pyspapi.git
synced 2026-04-20 04:25:25 +00:00
update packages in setup.py
This commit is contained in:
9
setup.py
9
setup.py
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user