Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove build_ext code from setup #513

Merged
merged 3 commits into from
Apr 25, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,11 @@
from os import path

from setuptools import find_packages, setup
from setuptools.command.build_ext import build_ext as _build_ext

dirname = path.abspath(path.dirname(__file__))
with open(path.join(dirname, 'README.md')) as f:
long_description = f.read()


# Bootstrap numpy install
class build_ext(_build_ext):

def finalize_options(self):
_build_ext.finalize_options(self)
# Prevent numpy from thinking it is still in its setup process:
__builtins__.__NUMPY_SETUP__ = False
import numpy
self.include_dirs.append(numpy.get_include())


setup(
name='featuretools',
version='0.7.1',
Expand All @@ -40,7 +27,6 @@ def finalize_options(self):
install_requires=open('requirements.txt').readlines(),
setup_requires=open('setup-requirements.txt').readlines(),
python_requires='>=2.7, <4',
cmdclass={'build_ext': build_ext},
test_suite='featuretools/tests',
tests_require=open('test-requirements.txt').readlines(),
keywords='feature engineering data science machine learning',
Expand Down