File: setup.py

package info (click to toggle)
hdmi2usb-mode-switch 0.0.1-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,392 kB
  • sloc: python: 2,327; makefile: 62; xml: 61; sh: 15
file content (59 lines) | stat: -rwxr-xr-x 1,963 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env python3
# vim: set ts=4 sw=4 et sts=4 ai:

from setuptools import find_packages
from setuptools import setup
import sys

import versioneer


if sys.version_info[:3] < (3, 3):
    raise SystemExit("You need Python 3.3+")


setup(
    name="hdmi2usb.modeswitch",
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),
    description=(
        "Module and command line tool for control the mode of HDMI2USB "
        "devices."
    ),
    long_description=open("README.md").read(),
    author="TimVideos' HDMI2USB project",
    author_email="hdmi2usb@googlegroups.com",
    url="https://hdmi2usb.tv",
    download_url="https://github.com/timvideos/HDMI2USB-mode-switch",
    license="Apache 2.0",
    platforms=["Any"],
    keywords="HDL ASIC FPGA hardware design",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3 :: Only",
        "Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",  # noqa
    ],
    packages=find_packages(),
# FIXME: Populate this with information?
#    package_data={},
#    data_files=[
#        ('/lib/firmware/hdmi2usb', os.walk('hdmi2usb/firmware/'),
#        ('/usr/bin/', build?(unbind-helper)),
#        ('/etc/udev/rules.d/', os.listdir(udev,
#            "*-hdmi2usb-*.rules", "hdmi2usb-*.sh"),
#    ],
    include_package_data=True,
    entry_points={
        "console_scripts": [x+"=hdmi2usb.modeswitch.cli:main" for x in (
            "hdmi2usb-find-board", "hdmi2usb-mode-switch",
            "hdmi2usb-manage-firmware",
            "opsis-find-board", "opsis-mode-switch", "opsis-manage-firmware",
            "atlys-find-board", "atlys-mode-switch", "atlys-manage-firmware",
        )],
    },
)