28 Star 310 Fork 90

guofei9987 / scikit-opt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
setup.py 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
Iztok Fister Jr 提交于 2022-07-06 13:57 . Do not install tests
from setuptools import setup, find_packages
import os
import sko
this_directory = os.path.abspath(os.path.dirname(__file__))
# 读取文件内容
def read_file(filename):
with open(os.path.join(this_directory, filename), encoding='utf-8') as f:
long_description = f.read()
return long_description
# 获取依赖
def read_requirements(filename):
return [line.strip() for line in read_file(filename).splitlines()
if not line.startswith('#')]
setup(name='scikit-opt',
python_requires='>=3.5',
version=sko.__version__,
description='Swarm Intelligence in Python',
long_description=read_file('docs/en/README.md'),
long_description_content_type="text/markdown",
url='https://github.com/guofei9987/scikit-opt',
author='Guo Fei',
author_email='guofei9987@foxmail.com',
license='MIT',
packages=find_packages(exclude=("*tests.*", "*tests")),
platforms=['linux', 'windows', 'macos'],
install_requires=['numpy', 'scipy'],
zip_safe=False)
Python
1
https://gitee.com/guofei9987/scikit-opt.git
git@gitee.com:guofei9987/scikit-opt.git
guofei9987
scikit-opt
scikit-opt
master

搜索帮助