-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d5673f
commit 97ae404
Showing
5 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
""" | ||
@author: Zhaoqing Liu | ||
@email : [email protected] | ||
@date : 1/6/21 3:46 pm | ||
@desc : | ||
""" | ||
|
||
|
||
__version__ = "0.0.1" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
""" | ||
@author: Zhaoqing Liu | ||
@email : [email protected] | ||
@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='[email protected]', | ||
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', | ||
], | ||
) |