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