Skip to content
Snippets Groups Projects
Select Git revision
  • aa15792fd450701c014e833b31bd9e50ce46de22
  • master default protected
  • 0.19.X
  • discrete
  • 0.18.X
  • ignore_lambda_to_diff_errors
  • 0.17.X
  • authors-update
  • 0.16.X
  • 0.15.X
  • 0.14.X
  • debian
  • 0.13.X
  • 0.12.X
  • 0.11.X
  • 0.10.X
  • 0.9.X
  • 0.6.X
  • 0.7.X
  • 0.8.X
  • 0.19.1
  • 0.19.0
  • 0.19b2
  • 0.19b1
  • 0.19-branching
  • 0.18.2
  • 0.18.1
  • 0.18
  • 0.18rc2
  • 0.18rc1
  • 0.18rc
  • 0.17.1-1
  • 0.17.1
  • debian/0.17.0-4
  • debian/0.17.0-3
  • debian/0.17.0-1
  • 0.17
  • debian/0.17.0_b1+git14-g4e6829c-1
  • debian/0.17.0_b1-1
  • 0.17b1
40 results

plot_dpgmm.py

Blame
  • setup.py 2.36 KiB
    #! /usr/bin/env python
    # Last Change: Sat Jul 21 09:00 PM 2007 J
    
    # 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"""
    
    from os.path import join
    import os
    import sys
    
    DISTNAME            = 'scikits.learn' 
    DESCRIPTION         = 'A set of python modules for machine learning and data mining'
    LONG_DESCRIPTION    = descr
    MAINTAINER          = 'Fabian Pedregosa'
    MAINTAINER_EMAIL    = 'fabian.pedregosa@inria.fr'
    URL                 = 'http://scikit-learn.sourceforge.net'
    LICENSE             = 'new BSD'
    DOWNLOAD_URL        = 'http://sourceforge.net/projects/scikit-learn/files/'
    VERSION             = '0.2-SVN'
    
    import setuptools # we are using a setuptools namespace
    from numpy.distutils.core import setup
    
    def configuration(parent_package='',top_path=None):
        if os.path.exists('MANIFEST'): os.remove('MANIFEST')
    
        from numpy.distutils.misc_util import Configuration
        config = Configuration(None, parent_package,top_path,
            namespace_packages=['scikits'])
    
        config.add_subpackage('scikits.learn')
        config.add_data_files('scikits/__init__.py')
    
        return config
    
    if __name__ == "__main__":
        setup(configuration = configuration,
            name = DISTNAME,
            install_requires=[
                  'numpy >= 1.1',
                  'scikits.optimization'],
            maintainer  = MAINTAINER,
            include_package_data = True,
            maintainer_email = MAINTAINER_EMAIL,
            description = DESCRIPTION,
            license = LICENSE,
            url = URL,
            version = VERSION,
            download_url = DOWNLOAD_URL,
            long_description = LONG_DESCRIPTION,
            test_suite="nose.collector", # for python setup.py test
            zip_safe=False, # the package can run out of an .egg file
            classifiers = 
                ['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'
                 ]
        )