Skip to content

Commit

Permalink
Try to fix pip installation issues in #130.
Browse files Browse the repository at this point in the history
  • Loading branch information
lebedov committed Oct 22, 2015
1 parent cdd0bcf commit 3f8ccc9
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from ez_setup import use_setuptools
use_setuptools()

from distutils.command.install import INSTALL_SCHEMES
from distutils.command.install_headers import install_headers
from setuptools import find_packages
from setuptools import setup
Expand All @@ -35,7 +34,7 @@
'Programming Language :: Python :: 3.4',
'Topic :: Scientific/Engineering',
'Topic :: Software Development']
NAMESPACE_PACKAGES = ['scikits', 'skcuda']
NAMESPACE_PACKAGES = ['scikits']
PACKAGES = find_packages()

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
Expand All @@ -56,11 +55,6 @@
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')

# This enables the installation of __init__.py files in namespace
# directories as a data file:
for scheme in INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']

setup(
name = NAME,
version = VERSION,
Expand All @@ -73,10 +67,6 @@
url = URL,
namespace_packages = NAMESPACE_PACKAGES,
packages = PACKAGES,

# Force installation of __init__.py in namespace package:
data_files = [('scikits', ['scikits/__init__.py']),
('skcuda', ['skcuda/__init__.py'])],
include_package_data = True,
install_requires = install_requires,
tests_require = tests_require,
Expand Down

0 comments on commit 3f8ccc9

Please sign in to comment.