Skip to content

Commit b177385

Browse files
committed
Bump version to 1.0.4
1 parent 33920ee commit b177385

File tree

2 files changed

+59
-59
lines changed

2 files changed

+59
-59
lines changed

platypus/__init__.py

+32-32
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
# Copyright 2015-2018 David Hadka
2-
#
3-
# This file is part of Platypus, a Python module for designing and using
4-
# evolutionary algorithms (EAs) and multiobjective evolutionary algorithms
5-
# (MOEAs).
6-
#
7-
# Platypus is free software: you can redistribute it and/or modify
8-
# it under the terms of the GNU General Public License as published by
9-
# the Free Software Foundation, either version 3 of the License, or
10-
# (at your option) any later version.
11-
#
12-
# Platypus is distributed in the hope that it will be useful,
13-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
# GNU General Public License for more details.
16-
#
17-
# You should have received a copy of the GNU General Public License
18-
# along with Platypus. If not, see <http://www.gnu.org/licenses/>.
19-
from __future__ import absolute_import, division, print_function
20-
21-
from .core import *
22-
from .algorithms import *
23-
from .evaluator import *
24-
from .experimenter import *
25-
from .indicators import *
26-
from .operators import *
27-
from .problems import *
28-
from .tools import *
29-
from .types import *
30-
from .weights import *
31-
32-
__version__ = "1.0.2" # Update setup.py if the version changes!
1+
# Copyright 2015-2018 David Hadka
2+
#
3+
# This file is part of Platypus, a Python module for designing and using
4+
# evolutionary algorithms (EAs) and multiobjective evolutionary algorithms
5+
# (MOEAs).
6+
#
7+
# Platypus is free software: you can redistribute it and/or modify
8+
# it under the terms of the GNU General Public License as published by
9+
# the Free Software Foundation, either version 3 of the License, or
10+
# (at your option) any later version.
11+
#
12+
# Platypus is distributed in the hope that it will be useful,
13+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
# GNU General Public License for more details.
16+
#
17+
# You should have received a copy of the GNU General Public License
18+
# along with Platypus. If not, see <http://www.gnu.org/licenses/>.
19+
from __future__ import absolute_import, division, print_function
20+
21+
from .core import *
22+
from .algorithms import *
23+
from .evaluator import *
24+
from .experimenter import *
25+
from .indicators import *
26+
from .operators import *
27+
from .problems import *
28+
from .tools import *
29+
from .types import *
30+
from .weights import *
31+
32+
__version__ = "1.0.4" # Update setup.py if the version changes!

setup.py

+27-27
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
#!/usr/bin/env python
2-
3-
from setuptools import setup
4-
from setuptools.command.test import test as TestCommand
5-
6-
class NoseTestCommand(TestCommand):
7-
8-
def finalize_options(self):
9-
TestCommand.finalize_options(self)
10-
self.test_args = []
11-
self.test_suite = True
12-
13-
def run_tests(self):
14-
import nose
15-
nose.run_exit(argv=['nosetests'])
16-
17-
setup(name='Platypus-Opt',
18-
version='1.0.2', # Update __init__.py if the version changes!
19-
description='Multiobjective optimization in Python',
20-
author='David Hadka',
21-
author_email='[email protected]',
22-
license="GNU GPL version 3",
23-
url='https://github.com/Project-Platypus/Platypus',
24-
packages=['platypus'],
25-
install_requires=['six'],
26-
tests_require=['nose', 'mock'],
27-
cmdclass={'test': NoseTestCommand},
1+
#!/usr/bin/env python
2+
3+
from setuptools import setup
4+
from setuptools.command.test import test as TestCommand
5+
6+
class NoseTestCommand(TestCommand):
7+
8+
def finalize_options(self):
9+
TestCommand.finalize_options(self)
10+
self.test_args = []
11+
self.test_suite = True
12+
13+
def run_tests(self):
14+
import nose
15+
nose.run_exit(argv=['nosetests'])
16+
17+
setup(name='Platypus-Opt',
18+
version='1.0.4', # Update __init__.py if the version changes!
19+
description='Multiobjective optimization in Python',
20+
author='David Hadka',
21+
author_email='[email protected]',
22+
license="GNU GPL version 3",
23+
url='https://github.com/Project-Platypus/Platypus',
24+
packages=['platypus'],
25+
install_requires=['six'],
26+
tests_require=['nose', 'mock'],
27+
cmdclass={'test': NoseTestCommand},
2828
)

0 commit comments

Comments
 (0)