Skip to content

Commit

Permalink
Bump version to v.0.3.0 (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
ljvmiranda921 authored Jul 31, 2018
1 parent 63ef1ab commit f7ce89d
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 41 deletions.
26 changes: 24 additions & 2 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,30 @@ Thanks for all the wonderful Pull Requests, `@mamadyonline <https://github.com/m


0.2.1 (2018-06-27)
------------------
~~~~~~~~~~~~~~~~~~

* Fix sigmoid function in BinaryPSO. Thanks a lot `@ThomasCES <https://github.com/ThomasCES`_! (PR # 145)

.. _145: https://github.com/ljvmiranda921/pyswarms/pull/145
.. _145: https://github.com/ljvmiranda921/pyswarms/pull/145

0.3.0 (2018-08-10)
------------------

* New topologies: Pyramid, Random, and Von Neumann. More ways for your particles to interact! (PR# 176_) (PR# 177_) (PR# 155_) (PR# 142_) Thanks a lot `@whzup <https://github.com/whzup>`_!
* New GeneralOptimizer algorithm that allows you to switch-out topologies for your optimization needs (PR# 151). Thanks a lot `@whzup <https://github.com/whzup>`_!
* All topologies now have a static attribute. Neigbors can now be set initially or computed dynamically (PR# 164_). Thanks a lot `@whzup <https://github.com/whzup>`_!
* New single-objective functions (PR# 168_)! Awesome work, `@jayspeidell <https://github.com/jayspeidell>`_!
* New tutorial on Inverse Kinematics using Particle Swarm Optimization (PR# 141_) Thanks a lot `@whzup <https://github.com/whzup>`_!
* New plotters module for visualization. The environment module is now deprecated (PR# 135_).
* Keyword arguments can now be passed in the optimize() method for your custom objective functions (PR# 144_). Great job, `@bradahoward <https://github.com/bradahoward>`

.. _135: https://github.com/ljvmiranda921/pyswarms/pull/135
.. _141: https://github.com/ljvmiranda921/pyswarms/pull/141
.. _142: https://github.com/ljvmiranda921/pyswarms/pull/142
.. _144: https://github.com/ljvmiranda921/pyswarms/pull/144
.. _151: https://github.com/ljvmiranda921/pyswarms/pull/151
.. _155: https://github.com/ljvmiranda921/pyswarms/pull/155
.. _164: https://github.com/ljvmiranda921/pyswarms/pull/164
.. _168: https://github.com/ljvmiranda921/pyswarms/pull/168
.. _176: https://github.com/ljvmiranda921/pyswarms/pull/176
.. _177: https://github.com/ljvmiranda921/pyswarms/pull/177
4 changes: 2 additions & 2 deletions pyswarms/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"""

__author__ = """Lester James V. Miranda"""
__email__ = '[email protected]'
__version__ = '0.2.1'
__email__ = "[email protected]"
__version__ = "0.3.0"

from .single import global_best, local_best, general_optimizer
from .discrete import binary
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.2.1
current_version = 0.3.0
commit = True
tag = True

Expand Down
72 changes: 36 additions & 36 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,65 +5,65 @@

from setuptools import setup, find_packages

with open('README.md', encoding="utf8") as readme_file:
with open("README.md", encoding="utf8") as readme_file:
readme = readme_file.read()

requirements = [
'PyYAML==3.12',
'future==0.16.0',
'scipy>=0.17.0',
'numpy>=1.13.0',
'matplotlib>=1.3.1',
'mock==2.0.0',
'pytest==3.2.1',
'attrs==18.1.0',
'pre-commit'
"PyYAML==3.13",
"future==0.16.0",
"scipy>=0.17.0",
"numpy>=1.13.0",
"matplotlib>=1.3.1",
"mock==2.0.0",
"pytest==3.6.4",
"attrs==18.1.0",
"pre-commit",
]

setup_requirements = [
# TODO(ljvmiranda921): put setup requirements (distutils extensions, etc.) here
]

test_requirements = [
'PyYAML==3.12',
'future==0.16.0',
'scipy>=0.17.0',
'numpy>=1.13.0',
'matplotlib>=1.3.1',
'mock==2.0.0',
'pytest==3.2.1',
'attrs==18.1.0',
'pre-commit'
"PyYAML==3.13",
"future==0.16.0",
"scipy>=0.17.0",
"numpy>=1.13.0",
"matplotlib>=1.3.1",
"mock==2.0.0",
"pytest==3.6.4",
"attrs==18.1.0",
"pre-commit",
]

setup(
name='pyswarms',
version='0.2.1',
name="pyswarms",
version="0.3.0",
description="A Python-based Particle Swarm Optimization (PSO) library.",
long_description=readme,
long_description_content_type="text/markdown",
author="Lester James V. Miranda",
author_email='[email protected]',
url='https://github.com/ljvmiranda921/pyswarms',
packages=find_packages(exclude=['docs', 'tests']),
author_email="[email protected]",
url="https://github.com/ljvmiranda921/pyswarms",
packages=find_packages(exclude=["docs", "tests"]),
include_package_data=True,
install_requires=requirements,
license="MIT license",
zip_safe=False,
keywords='pyswarms',
keywords="pyswarms",
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Topic :: Scientific/Engineering',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
test_suite='tests',
test_suite="tests",
tests_require=test_requirements,
setup_requires=setup_requirements,
)

0 comments on commit f7ce89d

Please sign in to comment.