diff --git a/platypus/__init__.py b/platypus/__init__.py index cc22d284..b387a8bb 100644 --- a/platypus/__init__.py +++ b/platypus/__init__.py @@ -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 . -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! \ No newline at end of file +# 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 . +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! \ No newline at end of file diff --git a/setup.py b/setup.py index eca56d4c..425316ba 100644 --- a/setup.py +++ b/setup.py @@ -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='dhadka@users.noreply.github.com', - 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='dhadka@users.noreply.github.com', + license="GNU GPL version 3", + url='https://github.com/Project-Platypus/Platypus', + packages=['platypus'], + install_requires=['six'], + tests_require=['nose', 'mock'], + cmdclass={'test': NoseTestCommand}, ) \ No newline at end of file