1import setuptools 2from os import path 3import ppt_control # Import main module so we can set the version 4 5here = path.abspath(path.dirname(__file__)) 6 7# Get the long description from the README file 8withopen(path.join(here,'README.md'), encoding='utf-8')as f: 9 long_description = f.read() 10setuptools.setup( 11 name='ppt-control', 12 version=ppt_control.__version__, 13 description='Interface for controlling PowerPoint slideshows over WebSocket/HTTP', 14 long_description=long_description, 15 long_description_content_type='text/markdown', 16 url='https://git.lorimer.id.au/ppt-control.git', 17 author='Andrew Lorimer', 18 author_email='andrew@lorimer.id.au', 19 classifiers=[# https://pypi.org/classifiers/ 20'Development Status :: 4 - Beta', 21'Programming Language :: Python :: 3', 22'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', 23'Operating System :: Microsoft :: Windows', 24'Topic :: Multimedia' 25], 26 keywords='ppt-control ppt_control powerpoint ppt', 27 packages=setuptools.find_packages(), 28 python_requires='>=3.6',# as of v0.0.1, OBS only supports use of Python 3.6 for scripts. Otherwise the package works fine on > 3.6. 29 install_requires=['pywin32','websockets','pystray'],# https://packaging.python.org/en/latest/requirements.html 30 data_files=[(ppt_control.CONFIG_DIR, [ppt_control.CONFIG_FILE])], 31 entry_points={'gui_scripts': ['ppt-control = ppt_control.ppt_control:start_interface']}, 32 package_data={"": ["static/*", "static/icons/*"]} 33#include_package_data=True 34)