aioupnp/setup.py
2018-11-08 10:34:39 -05:00

46 lines
1.3 KiB
Python

import os
from setuptools import setup, find_packages # type: ignore
from aioupnp import __version__, __name__, __email__, __author__, __license__
console_scripts = [
'aioupnp = aioupnp.__main__:main',
]
package_name = "aioupnp"
base_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(base_dir, 'README.md'), 'rb') as f:
long_description = f.read().decode('utf-8')
setup(
name=__name__,
version=__version__,
author=__author__,
author_email=__email__,
description="UPnP for asyncio",
keywords="upnp asyncio ssdp network scpd",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: System :: Networking",
"Topic :: Communications :: File Sharing"
],
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/lbryio/aioupnp",
license=__license__,
packages=find_packages(exclude=('tests',)),
entry_points={'console_scripts': console_scripts},
install_requires=[
'netifaces',
],
extras_require={
'test': (
'mock',
)
}
)