Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cosmetic cleanup of setup.py.
git-svn-id: https://scikit-learn.svn.sourceforge.net/svnroot/scikit-learn/trunk@367 22fbfee3-77ab-4535-9bad-27d1bd3bc7d8
  • Loading branch information
Fabian Pedregosa committed Jan 22, 2010
1 parent 734a7f7 commit 4315b69
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions setup.py
@@ -1,8 +1,8 @@
#! /usr/bin/env python
# Last Change: Sat Jul 21 09:00 PM 2007 J

# Copyright (C) 2007 Cournapeau David <cournape@gmail.com>
#
# Copyright (C) 2007-2009 Cournapeau David <cournape@gmail.com>
# 2010 Fabian Pedregosa <fabian.pedregosa@inria.fr>

descr = """A set of python modules for machine learning and data mining"""

Expand All @@ -20,22 +20,14 @@
DOWNLOAD_URL = URL
VERSION = '0.1-SVN'

# The following is more or less random copy/paste from numpy.distutils ...
import setuptools
#from distutils.errors import DistutilsError
#from numpy.distutils.system_info import system_info, NotFoundError, dict_append, so_ext
from numpy.distutils.core import setup, Extension

def configuration(parent_package='',top_path=None, package_name=DISTNAME):
if os.path.exists('MANIFEST'): os.remove('MANIFEST')

#pkg_prefix_dir = os.path.join('scikits', 'learn')
## Get the version
#from scikits.pyaudiolab.info import __version__ as pyaudiolab_version

from numpy.distutils.misc_util import Configuration
config = Configuration(package_name,parent_package,top_path,
#version = pyaudiolab_version,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
description = DESCRIPTION,
Expand All @@ -56,13 +48,17 @@ def configuration(parent_package='',top_path=None, package_name=DISTNAME):
include_package_data = True,
test_suite="nose.collector", # for python setup.py test
zip_safe=False, # the package can run out of an .egg file
#FIXME url, download_url, ext_modules
classifiers =
[ 'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Topic :: Scientific/Engineering'],
# options={'build_ext':{'swig_cpp':True}},
['Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved',
'Programming Language :: C',
'Programming Language :: Python',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS'
]
)

0 comments on commit 4315b69

Please sign in to comment.