diff --git a/setup.cfg b/setup.cfg index ecb5f8d..353b0d9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,58 @@ [metadata] +name = vidhub-control +version = 0.0.3 +author = Matthew Reid +author_email = matt@nomadic-recording.com +url = https://github.com/nocarryr/vidhub-control +project_urls = + Documentation = https://vidhub-control.readthedocs.io + Source = https://github.com/nocarryr/vidhub-control +description = Control Smart Videohub Devices long_description = file: README.rst long_description_content_type = text/x-rst +classifiers = + Development Status :: 3 - Alpha + License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3) + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Framework :: AsyncIO + Intended Audience :: Developers + Intended Audience :: End Users/Desktop + Topic :: Multimedia + Topic :: Multimedia :: Graphics + Topic :: Multimedia :: Video + + +[options] +packages = find: +include_package_data = True +install_requires = + python-dispatch>=0.1.0 + json-object-factory + zeroconf>=0.31.0 + python-osc + pid + netifaces + +[options.extras_require] +kivy = kivy>=2.0.0 + +[options.packages.find] +exclude = tests + +[options.entry_points] +console_scripts = + vidhubcontrol-web = vidhubcontrol.sofi_ui.main:run_app + vidhubcontrol-server = vidhubcontrol.runserver:main + vidhubcontrol-ui = vidhubcontrol.kivyui.main:main [kivy] + +[options.package_data] +* = LICENSE*, README* +vidhubcontrol.kivyui = *.kv + [tool:pytest] testpaths = tests diff --git a/setup.py b/setup.py index 2b2c75d..6068493 100644 --- a/setup.py +++ b/setup.py @@ -1,61 +1,3 @@ -import os -import sys -from setuptools import setup, find_packages +from setuptools import setup -BASE_PATH = os.path.abspath(os.path.dirname(__file__)) - -def get_deps(filename): - deps = [] - with open(os.path.join(BASE_PATH, filename), 'r') as f: - for line in f.read().splitlines(): - if line.startswith('#'): - continue - deps.append(line) - return deps - -INSTALL_REQUIRES = get_deps('requirements.txt') -EXTRAS_REQUIRE = { - 'kivy':get_deps('vidhubcontrol/kivyui/requirements.txt'), -} - -setup( - name = "vidhub-control", - version = "0.0.3", - author = "Matthew Reid", - author_email = "matt@nomadic-recording.com", - url="https://github.com/nocarryr/vidhub-control", - description = "Control Smart Videohub Devices", - packages=find_packages(exclude=['tests*']), - include_package_data=True, - package_data={ - '': ['LICENSE*', 'README*'], - 'vidhubcontrol.kivyui': ['*.kv'], - }, - install_requires=INSTALL_REQUIRES, - python_requires='>=3.5', - entry_points={ - 'console_scripts':[ - 'vidhubcontrol-web = vidhubcontrol.sofi_ui.main:run_app', - 'vidhubcontrol-server = vidhubcontrol.runserver:main', - 'vidhubcontrol-ui = vidhubcontrol.kivyui.main:main [kivy]', - ], - }, - extras_require=EXTRAS_REQUIRE, - platforms=['any'], - classifiers = [ - 'Development Status :: 3 - Alpha', - 'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Framework :: AsyncIO', - 'Intended Audience :: Developers', - 'Intended Audience :: End Users/Desktop', - 'Topic :: Multimedia', - 'Topic :: Multimedia :: Graphics', - 'Topic :: Multimedia :: Video', - - ], -) +setup()