Skip to content

Commit

Permalink
Bump version to 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dhadka committed Apr 14, 2020
1 parent 33920ee commit b177385
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 59 deletions.
64 changes: 32 additions & 32 deletions platypus/__init__.py
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
# Copyright 2015-2018 David Hadka
#
# This file is part of Platypus, a Python module for designing and using
# evolutionary algorithms (EAs) and multiobjective evolutionary algorithms
# (MOEAs).
#
# Platypus is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Platypus is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Platypus. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import, division, print_function

from .core import *
from .algorithms import *
from .evaluator import *
from .experimenter import *
from .indicators import *
from .operators import *
from .problems import *
from .tools import *
from .types import *
from .weights import *

__version__ = "1.0.2" # Update setup.py if the version changes!
# Copyright 2015-2018 David Hadka
#
# This file is part of Platypus, a Python module for designing and using
# evolutionary algorithms (EAs) and multiobjective evolutionary algorithms
# (MOEAs).
#
# Platypus is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Platypus is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Platypus. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import, division, print_function

from .core import *
from .algorithms import *
from .evaluator import *
from .experimenter import *
from .indicators import *
from .operators import *
from .problems import *
from .tools import *
from .types import *
from .weights import *

__version__ = "1.0.4" # Update setup.py if the version changes!
54 changes: 27 additions & 27 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
#!/usr/bin/env python

from setuptools import setup
from setuptools.command.test import test as TestCommand

class NoseTestCommand(TestCommand):

def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import nose
nose.run_exit(argv=['nosetests'])

setup(name='Platypus-Opt',
version='1.0.2', # Update __init__.py if the version changes!
description='Multiobjective optimization in Python',
author='David Hadka',
author_email='[email protected]',
license="GNU GPL version 3",
url='https://github.com/Project-Platypus/Platypus',
packages=['platypus'],
install_requires=['six'],
tests_require=['nose', 'mock'],
cmdclass={'test': NoseTestCommand},
#!/usr/bin/env python

from setuptools import setup
from setuptools.command.test import test as TestCommand

class NoseTestCommand(TestCommand):

def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True

def run_tests(self):
import nose
nose.run_exit(argv=['nosetests'])

setup(name='Platypus-Opt',
version='1.0.4', # Update __init__.py if the version changes!
description='Multiobjective optimization in Python',
author='David Hadka',
author_email='[email protected]',
license="GNU GPL version 3",
url='https://github.com/Project-Platypus/Platypus',
packages=['platypus'],
install_requires=['six'],
tests_require=['nose', 'mock'],
cmdclass={'test': NoseTestCommand},
)

0 comments on commit b177385

Please sign in to comment.