/
setup.py
47 lines (35 loc) · 1.24 KB
/
setup.py
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
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# configure plugin name here
CONTAINER_NAME = "rtmp-sniffer"
# generate a name without dashes
CONTAINER_NAME_CLEAR = "rtmp_sniffer"
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name=CONTAINER_NAME_CLEAR,
version='1.0',
description='RTMP packet sniffer',
long_description=long_description,
# The project's main homepage.
url='http://github.com/CN-UPB/Pishahang',
# Author details
author='Hadi Razzaghi Kouchaksaraei',
author_email='hadi.razzaghi@upb.de',
# license
license='Apache 2.0',
packages=find_packages(),
install_requires=['mongoengine', 'amqpstorm', 'PyYAML'],
setup_requires=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'%s=%s.__main__:main' % (CONTAINER_NAME, CONTAINER_NAME_CLEAR),
],
},
)