forked from free-sci/odet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
66 lines (57 loc) · 2 KB
/
Copy pathsetup.py
File metadata and controls
66 lines (57 loc) · 2 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"""Setup.py
python3 setup.py build
python3 setup.py install
"""
# Authors: kun.bj@outlook.com
#
# License: xxx
import os
from setuptools import find_packages
from setuptools import setup
def read(readme_file):
"""Utility function to read the README file. Used for the long_description.
Parameters
----------
readme_file: str
Returns
-------
"""
value = open(os.path.join(os.path.dirname(__file__), readme_file), 'r', encoding='utf-8').read()
return str(value)
setup(name='odet',
version='0.0.1',
description='Novelty Detection',
long_description=read('readme.md'),
# long_description='Data representation for IoT traffic',
long_description_content_type="text/markdown",
author='Kun',
author_email='kun.bj@outlook.com',
url='https://github.com/Learn-Live/odet',
download_url='https://github.com/Learn-Live/odet',
license='xxx',
python_requires='==3.7.3',
install_requires=['numpy==1.18.3',
'scipy==1.4.1',
'pandas==0.25.1',
'scapy==2.4.3',
'scikit-learn==0.21.3'
],
extras_require={
'visualize': ['matplotlib==3.2.1'],
'tests': ['pytest==5.3.1',
'requests==2.22.0'
],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Python Software Foundation License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules'
],
# automatically find the packages with __init__.py file and start from the setup.py's directory
packages=find_packages())