Skip to content

Commit

Permalink
Bumped version and modified setup to install hv
Browse files Browse the repository at this point in the history
  • Loading branch information
fmder committed Nov 12, 2017
1 parent a5d77d1 commit c358412
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions deap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# You should have received a copy of the GNU Lesser General Public
# License along with DEAP. If not, see <http://www.gnu.org/licenses/>.
__author__ = "DEAP Team"
__version__ = "1.1"
__revision__ = "1.1.0"
__version__ = "1.2"
__revision__ = "1.2.1"
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, \
Expand All @@ -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:
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit c358412

Please sign in to comment.