Skip to content

Commit

Permalink
Remove any reference to cTools in setup.py
Browse files Browse the repository at this point in the history
--HG--
branch : dev
  • Loading branch information
cmd-ntrf authored and felix.antoine.fortin committed Jun 19, 2013
1 parent d06b405 commit 638cac1
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
#!/usr/bin/env python
import sys
from distutils.core import setup, Extension
from distutils.core import setup
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
from distutils.command.build_py import build_py

import deap

ext_modules = []
if "--with-ctools" in sys.argv:
ext_modules.append(Extension('deap.cTools', ['deap/cTools.cpp']))
sys.argv.remove("--with-ctools")

setup(name='deap',
version=deap.__revision__,
description='Distributed Evolutionary Algorithms in Python',
Expand All @@ -36,6 +31,6 @@
'Topic :: Scientific/Engineering',
'Topic :: Software Development',
],
ext_modules = ext_modules,
ext_modules = [],
cmdclass = {'build_py': build_py}
)

0 comments on commit 638cac1

Please sign in to comment.