setup.pyon commit restructure project, add setuptools files (7cb045a)
   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
   8with open(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_content_type='text/markdown',
  15    url='https://git.lorimer.id.au/ppt-control.git',
  16    author='Andrew Lorimer',
  17    author_email='andrew@lorimer.id.au',
  18    classifiers=[                       # https://pypi.org/classifiers/
  19        'Development Status :: 4 - Beta',
  20        'Programming Language :: Python :: 3',
  21        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
  22        'Operating System :: Microsoft :: Windows',
  23        'Topic :: Multimedia'
  24    ],
  25    keywords='ppt-control ppt_control powerpoint ppt',
  26    packages=setuptools.find_packages(),
  27    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.
  28    install_requires=['pywin32', 'websockets', 'pystray'],   # https://packaging.python.org/en/latest/requirements.html
  29    data_files=[(ppt_control.__configdir__, ['ppt-control.ini'])],
  30    package_data={"": ["static/*", "static/icons/*"]}
  31    #include_package_data=True
  32)