-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move to static (setup.cfg) setuptools config
- Loading branch information
Showing
2 changed files
with
54 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,58 @@ | ||
[metadata] | ||
name = vidhub-control | ||
version = 0.0.3 | ||
author = Matthew Reid | ||
author_email = [email protected] | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 = "[email protected]", | ||
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() |