-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumped version and modified setup to install hv
- Loading branch information
Showing
2 changed files
with
8 additions
and
5 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
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 |
---|---|---|
|
@@ -4,10 +4,12 @@ | |
warnings = list() | ||
|
||
try: | ||
from setuptools import setup, Extension | ||
from setuptools import setup, Extension, find_packages | ||
modules = find_packages(exclude=['examples']) | ||
except ImportError: | ||
warnings.append("warning: using disutils.core.setup, cannot use \"develop\" option") | ||
from disutils.core import setup, Extension | ||
modules = ['deap', 'deap.benchmarks', 'deap.tests', 'deap.tools', 'deap.tools._hypervolume'] | ||
|
||
from setuptools.command.build_ext import build_ext | ||
from distutils.errors import CCompilerError, DistutilsExecError, \ | ||
|
@@ -16,7 +18,7 @@ | |
try: | ||
from pypandoc import convert | ||
except ImportError: | ||
warnings.append("warning: pypandoc module not found, could not convert Markdown to RST") | ||
warnings.append("warning: pypandoc module not found, could not convert ReadMe Markdown to RST") | ||
import codecs | ||
read_md = lambda f: codecs.open(f, 'r', 'utf-8').read() | ||
else: | ||
|
@@ -66,7 +68,8 @@ def run_setup(build_ext): | |
author='deap Development Team', | ||
author_email='[email protected]', | ||
url='https://www.github.com/deap', | ||
packages=['deap', 'deap.tools', 'deap.tools._hypervolume', 'deap.benchmarks', 'deap.tests'], | ||
packages=find_packages(exclude=['examples']), | ||
# packages=['deap', 'deap.tools', 'deap.tools._hypervolume', 'deap.benchmarks', 'deap.tests'], | ||
platforms=['any'], | ||
keywords=['evolutionary algorithms','genetic algorithms','genetic programming','cma-es','ga','gp','es','pso'], | ||
license='LGPL', | ||
|