aioupnp/setup.py

30 lines
757 B
Python
Raw Normal View History

2018-07-30 23:48:20 +02:00
import os
2018-07-27 01:49:33 +02:00
from setuptools import setup, find_packages
2018-07-30 23:48:20 +02:00
from txupnp 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-07-30 23:48:20 +02:00
'txupnp-cli = txupnp.cli:main',
2018-07-29 04:08:24 +02:00
]
2018-07-30 23:48:20 +02:00
package_name = "txupnp"
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-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-07-27 01:49:33 +02:00
description="UPnP for twisted",
2018-07-30 23:48:20 +02:00
long_description=long_description,
license=__license__,
2018-07-27 01:49:33 +02:00
packages=find_packages(),
2018-07-29 04:08:24 +02:00
entry_points={'console_scripts': console_scripts},
2018-07-27 01:49:33 +02:00
install_requires=[
2018-08-01 21:06:28 +02:00
'twisted[tls]',
2018-07-27 01:49:33 +02:00
'treq',
2018-07-29 04:08:24 +02:00
'netifaces',
2018-07-27 01:49:33 +02:00
],
)