-
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
59 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}, | ||
) |