From 97ae40467575c04788488985008db8cc13d69f42 Mon Sep 17 00:00:00 2001 From: ZhaoqingLiu Date: Tue, 1 Jun 2021 16:16:46 +1000 Subject: [PATCH] Update --- ChangeLog.txt | 0 LICENSE.txt | 19 ++++++++++++++ fdt.py | 9 +++++++ requirements.txt | 0 setup.py | 68 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 96 insertions(+) create mode 100644 ChangeLog.txt create mode 100644 LICENSE.txt create mode 100644 fdt.py create mode 100644 requirements.txt create mode 100644 setup.py diff --git a/ChangeLog.txt b/ChangeLog.txt new file mode 100644 index 0000000..e69de29 diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..335ea9d --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,19 @@ +Copyright (c) 2018 The Python Packaging Authority + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/fdt.py b/fdt.py new file mode 100644 index 0000000..d9e52ea --- /dev/null +++ b/fdt.py @@ -0,0 +1,9 @@ +""" +@author: Zhaoqing Liu +@email : Zhaoqing.Liu-1@student.uts.edu.au +@date : 1/6/21 3:46 pm +@desc : +""" + + +__version__ = "0.0.1" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..c7c5af1 --- /dev/null +++ b/setup.py @@ -0,0 +1,68 @@ +""" +@author: Zhaoqing Liu +@email : Zhaoqing.Liu-1@student.uts.edu.au +@date : 1/6/21 2:37 pm +@desc : +""" +from os import path as os_path +from setuptools import setup + +import fdt + +curr_dir = os_path.abspath(os_path.dirname(__file__)) + + +# Read a file. +def read_file(filename): + with open(os_path.join(curr_dir, filename), encoding='utf-8') as f: + long_description = f.read() + return long_description + + +# Find all packages. +def find_packages(): + pass + + +# Get all dependencies. +def read_requirements(filename): + return [line.strip() for line in read_file(filename).splitlines() + if not line.startswith('#')] + + +setup( + # package name. + name='fuzzy_trees', + # python environment. + python_requires='>=3.6.0', + # package version. + version=fdt.__version__, + # description of the package, shown on PyPI. + description='An algorithm framework integrating fuzzy decision trees and fuzzy ensemble trees.', + # long description of the package, from the README document. + long_description=read_file('README.md'), + # Specify the package document format as Markdown. + long_description_content_type='text/markdown', + author='Zhaoqing.Liu', + author_email='Zhaoqing.Liu-1@student.uts.edu.au', + url='https://github.com/ZhaoqingLiu/FuzzyDecisionTrees', + # Specify package information. + packages=[ + 'fuzzy_decision_tree_proxy', + '', + '' + ], + # Specify the dependencies that need to be installed. + install_requires=read_requirements('requirements.txt'), + include_package_data=True, + license='MIT', + keywords=['fuzzy', 'decision tree', 'gradient boosting'], + classifiers=[ + 'Intended Audience :: Researchers, developers', + 'License :: OSI Approved :: MIT License', + 'Natural Language :: English', + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + ], +)