aioupnp/setup.py

46 lines
1.3 KiB
Python
Raw Normal View History

2018-07-30 17:48:20 -04:00
import os
2018-10-08 14:47:37 -04:00
from setuptools import setup, find_packages # type: ignore
2018-10-07 22:30:13 -04:00
from aioupnp import __version__, __name__, __email__, __author__, __license__
2018-07-26 19:49:33 -04:00
2018-07-28 22:08:24 -04:00
console_scripts = [
2018-10-07 22:30:13 -04:00
'aioupnp = aioupnp.__main__:main',
2018-07-28 22:08:24 -04:00
]
2018-10-07 22:30:13 -04:00
package_name = "aioupnp"
2018-07-30 17:48:20 -04:00
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')
2018-11-08 10:34:39 -05:00
2018-07-26 19:49:33 -04:00
setup(
2018-07-30 17:48:20 -04:00
name=__name__,
version=__version__,
author=__author__,
author_email=__email__,
2018-10-07 22:30:13 -04:00
description="UPnP for asyncio",
2018-11-08 10:34:39 -05:00
keywords="upnp asyncio ssdp network scpd",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
2018-11-08 10:42:03 -05:00
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
2018-11-08 10:34:39 -05:00
"Programming Language :: Python :: 3.7",
"Topic :: System :: Networking",
"Topic :: Communications :: File Sharing"
],
2018-07-30 17:48:20 -04:00
long_description=long_description,
2018-10-20 15:05:48 +03:00
long_description_content_type='text/markdown',
2018-10-07 22:30:13 -04:00
url="https://github.com/lbryio/aioupnp",
2018-07-30 17:48:20 -04:00
license=__license__,
2018-10-25 15:28:00 -04:00
packages=find_packages(exclude=('tests',)),
2018-07-28 22:08:24 -04:00
entry_points={'console_scripts': console_scripts},
2018-07-26 19:49:33 -04:00
install_requires=[
2019-05-21 18:16:30 -04:00
'netifaces', 'defusedxml'
2018-07-26 19:49:33 -04:00
],
2018-10-21 21:11:41 -04:00
extras_require={
'test': (
'mock',
)
}
2018-07-26 19:49:33 -04:00
)