Skip to content

Commit

Permalink
Upload docs
Browse files Browse the repository at this point in the history
Upload docs
  • Loading branch information
geatpy-dev committed May 22, 2024
1 parent c8964c7 commit eaafaec
Show file tree
Hide file tree
Showing 186 changed files with 5 additions and 81 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/awGA.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/boundfix.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/bs2int.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/bs2real.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/bs2ri.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/cdist.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crowdis.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crtbp.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crtfld.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crtgp.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crtidp.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crtip.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crtpc.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crtpp.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crtri.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crtrp.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/crtup.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/dup.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/ecs.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/etour.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/indexing.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/indicator.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mergecv.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/migrate.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/moeaplot.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mselecting.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutate.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutbga.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutbin.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutde.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutgau.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutinv.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutmove.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutpolyn.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutpp.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutswap.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/mutuni.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/ndsortDED.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/ndsortESS.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/ndsortTNS.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/otos.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/pbi.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/powing.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/ranking.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/rcs.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/recdis.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/recint.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/reclin.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/recndx.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/recombin.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/recsbx.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/refgselect.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/refselect.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/ri2bs.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/rps.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/rwGA.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/rws.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/scaling.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/selecting.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/soeaplot.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/sus.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/tcheby.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/tour.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/trcplot.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/urs.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/varplot.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/xovbd.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/xovdp.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/xovexp.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/xovox.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/xovpmx.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/xovsec.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/xovsh.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/xovsp.pyd
Binary file not shown.
Binary file removed _core/Windows/lib64/v3.6/xovud.pyd
Binary file not shown.
Binary file added docs/API/awGA/awGA.pdf
Binary file not shown.
Binary file added docs/API/boundfix/boundfix.pdf
Binary file not shown.
Binary file added docs/API/bs2int/bs2int.pdf
Binary file not shown.
Binary file added docs/API/bs2real/bs2real.pdf
Binary file not shown.
Binary file added docs/API/bs2ri/bs2ri.pdf
Binary file not shown.
Binary file added docs/API/crowdis/crowdis.pdf
Binary file not shown.
Binary file added docs/API/crtbp/crtbp.pdf
Binary file not shown.
Binary file added docs/API/crtfld/crtfld.pdf
Binary file not shown.
Binary file added docs/API/crtgp/crtgp.pdf
Binary file not shown.
Binary file added docs/API/crtip/crtip.pdf
Binary file not shown.
Binary file added docs/API/crtpp/crtpp.pdf
Binary file not shown.
Binary file added docs/API/crtrp/crtrp.pdf
Binary file not shown.
Binary file added docs/API/crtup/crtup.pdf
Binary file not shown.
Binary file added docs/API/dup/dup.pdf
Binary file not shown.
Binary file added docs/API/etour/etour.pdf
Binary file not shown.
Binary file added docs/API/indexing/indexing.pdf
Binary file not shown.
Binary file added docs/API/meshrng/meshrng.pdf
Binary file not shown.
Binary file added docs/API/mutate/mutate.pdf
Binary file not shown.
Binary file added docs/API/mutbga/mutbga.pdf
Binary file not shown.
Binary file added docs/API/mutbin/mutbin.pdf
Binary file not shown.
Binary file added docs/API/rwGA/rwGA.pdf
Binary file not shown.
Binary file added docs/EA Introduction/序言.pdf
Binary file not shown.
Binary file added docs/EA Introduction/第一章:概述.pdf
Binary file not shown.
Binary file not shown.
Binary file added docs/EA Introduction/第五章:重组.pdf
Binary file not shown.
Binary file added docs/EA Introduction/第六章:变异.pdf
Binary file not shown.
Binary file added docs/EA Introduction/第四章:选择.pdf
Binary file not shown.
Binary file added docs/Tutorials/0.封面.pdf
Binary file not shown.
Binary file added docs/Tutorials/1.总览.pdf
Binary file not shown.
Binary file added docs/Tutorials/2.数据结构.pdf
Binary file not shown.
Binary file added docs/Tutorials/3.快速入门.pdf
Binary file not shown.
Binary file added docs/Tutorials/4.进化算法模板.pdf
Binary file not shown.
Binary file added docs/Tutorials/5.多染色体混合编码.pdf
Binary file not shown.
Binary file added docs/Tutorials/6.多种群进化优化.pdf
Binary file not shown.
Binary file added docs/Tutorials/7.化繁为简.pdf
Binary file not shown.
86 changes: 5 additions & 81 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,88 +1,12 @@
# -*- coding: utf-8 -*-
# This is a list of files to install Geatpy
# This is a brief tutorial of files to install Geatpy
#
# Geatpy is a free toolbox: you can redistribute it and/or modify as you want.
#
# Geatpy is distributed in the hope that it will be useful for the genetic
# and evolutionary algorithm, you can get the tutorial from http://www.geatpy.com
# and evolutionary algorithm, you can get the tutorial from http://geatpy.github.io
#
# If you want to donate to it, please email [email protected]

import pathlib
import platform
import shutil
import sys

from Cython.Build import cythonize
import numpy as np
import setuptools
from setuptools import setup

kwargs = dict(
name="geatpy",
version="2.7.0",
description=("Geatpy is a high-performance "
"Genetic and Evolutionary Algorithms toolbox for Python."),
author="Geatpy Team",
author_email="[email protected]",
url="http://www.geatpy.com",
packages=setuptools.find_packages(),
include_package_data=True, # Enabled list file: MANIFEST.in
install_requires=[
'numpy>=1.17.0',
'matplotlib>=3.0.0',
],
extras_require={
"dev": [
"yapf>=0.32",
"flake8>=4.0",
"isort>=5.10",
"commitizen>=2.26",
"pre-commit>=2.17",
"toml>=0.10"
],
"test": ["pytest>=7.0"]
},
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
],
long_description=(
"Geatpy--The Genetic and Evolutionary Algorithms Toolbox for Python. "
"http://www.geatpy.com"),
zip_safe=False,
)

dest_path = pathlib.Path('geatpy/core/')
source_path = pathlib.Path('_core/')

if dest_path.exists():
shutil.rmtree(dest_path)
dest_path.mkdir()
python_version = 'v{}.{}'.format(sys.version_info.major,
sys.version_info.minor)
core_path = (source_path / '{}'.format(platform.system())
/ 'lib{}'.format(platform.architecture()[0][:2]) / python_version)
for file in core_path.iterdir():
shutil.copy(file, dest_path / file.name)

try:
setup(include_dirs=[np.get_include()],
ext_modules=cythonize("build/build.pyx"),
language="c",
**kwargs),
except Exception:
setup(**kwargs)
#
# Installation way:
# pip install geatpy

0 comments on commit eaafaec

Please sign in to comment.