-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
58 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,82 +2,74 @@ | |
|
||
# Copyright (C) 2017 Balazs Kegl | ||
|
||
import codecs | ||
import os | ||
from codecs import open | ||
|
||
from setuptools import setup, find_packages | ||
from setuptools import find_packages, setup | ||
|
||
# get __version__ from _version.py | ||
ver_file = os.path.join('rampwf', '_version.py') | ||
with open(ver_file) as f: | ||
exec(f.read()) | ||
|
||
# Get the long description from the README file | ||
with open('README.rst', encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
|
||
descr = """Toolkit for building analytics workflows on the top of pandas and | ||
scikit-learn. Primarily intended to feed RAMPs.""" | ||
|
||
DISTNAME = 'ramp-workflow' | ||
DESCRIPTION = descr | ||
MAINTAINER = 'Balazs Kegl' | ||
MAINTAINER_EMAIL = '[email protected]' | ||
DESCRIPTION = ("Toolkit for building analytics workflows on the top data " | ||
"science ecosystem") | ||
with codecs.open('README.rst', encoding='utf-8-sig') as f: | ||
LONG_DESCRIPTION = f.read() | ||
MAINTAINER = 'A. Boucaud, B. Kegl, G. Lemaitre, J. Van den Bossche' | ||
MAINTAINER_EMAIL = '[email protected], [email protected]' | ||
URL = 'https://github.com/paris-saclay-cds/ramp-workflow' | ||
LICENSE = 'BSD (3-clause)' | ||
DOWNLOAD_URL = 'https://github.com/paris-saclay-cds/ramp-workflow' | ||
VERSION = __version__ # noqa | ||
CLASSIFIERS = ['Intended Audience :: Science/Research', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved', | ||
'Programming Language :: Python', | ||
'Topic :: Software Development', | ||
'Topic :: Scientific/Engineering', | ||
'Operating System :: Microsoft :: Windows', | ||
'Operating System :: POSIX', | ||
'Operating System :: Unix', | ||
'Operating System :: MacOS', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7'] | ||
INSTALL_REQUIRES = ['numy', 'scipy', 'pandas', 'scikit-learn', 'joblib', | ||
'click'] | ||
EXTRAS_REQUIRE = { | ||
'tests': ['pytest', 'pytest-cov'], | ||
'docs': ['sphinx', 'sphinx_rtd_theme', 'numpydoc', 'sphinx-click'] | ||
} | ||
|
||
|
||
if __name__ == "__main__": | ||
if os.path.exists('MANIFEST'): | ||
os.remove('MANIFEST') | ||
|
||
setup( | ||
name=DISTNAME, | ||
version=__version__, | ||
maintainer=MAINTAINER, | ||
include_package_data=True, | ||
maintainer_email=MAINTAINER_EMAIL, | ||
description=DESCRIPTION, | ||
license=LICENSE, | ||
url=URL, | ||
download_url=DOWNLOAD_URL, | ||
long_description=long_description, | ||
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 :: Python', | ||
'Topic :: Software Development', | ||
'Topic :: Scientific/Engineering', | ||
'Operating System :: Microsoft :: Windows', | ||
'Operating System :: POSIX', | ||
'Operating System :: Unix', | ||
'Operating System :: MacOS'], | ||
install_requires=[ | ||
'numpy', | ||
'scipy', | ||
'pandas>=0.19.2', | ||
'scikit-learn>=0.18', | ||
'cloudpickle', | ||
'click'], | ||
platforms='any', | ||
packages=find_packages(), | ||
entry_points={ | ||
'console_scripts': [ | ||
'ramp-test = rampwf.utils.cli.testing:start', | ||
'ramp-show = rampwf.utils.cli.show:start', | ||
'ramp-hyperopt = rampwf.hyperopt.cli.hyperopt:start', | ||
'ramp_test_submission=' | ||
'rampwf.utils.command_line:ramp_test_submission', | ||
'ramp_test_notebook=' | ||
'rampwf.utils.command_line:ramp_test_notebook', | ||
'ramp_convert_notebook=' | ||
'rampwf.utils.command_line:ramp_convert_notebook', | ||
'ramp_blend_submissions=' | ||
'rampwf.utils.command_line:ramp_blend_submissions', | ||
'ramp_leaderboard=' | ||
'rampwf.utils.command_line:ramp_leaderboard', | ||
]}) | ||
setup( | ||
name=DISTNAME, | ||
maintainer=MAINTAINER, | ||
maintainer_email=MAINTAINER_EMAIL, | ||
description=DESCRIPTION, | ||
license=LICENSE, | ||
url=URL, | ||
version=VERSION, | ||
download_url=DOWNLOAD_URL, | ||
long_description=LONG_DESCRIPTION, | ||
zip_safe=False, # the package can run out of an .egg file | ||
classifiers=CLASSIFIERS, | ||
packages=find_packages(), | ||
install_requires=INSTALL_REQUIRES, | ||
extras_require=EXTRAS_REQUIRE, | ||
entry_points={ | ||
'console_scripts': [ | ||
'ramp-test = rampwf.utils.cli.testing:start', | ||
'ramp-show = rampwf.utils.cli.show:start', | ||
'ramp-hyperopt = rampwf.hyperopt.cli.hyperopt:start', | ||
'ramp_test_submission=' | ||
'rampwf.utils.command_line:ramp_test_submission', | ||
'ramp_test_notebook=' | ||
'rampwf.utils.command_line:ramp_test_notebook', | ||
'ramp_convert_notebook=' | ||
'rampwf.utils.command_line:ramp_convert_notebook', | ||
'ramp_blend_submissions=' | ||
'rampwf.utils.command_line:ramp_blend_submissions', | ||
'ramp_leaderboard=' | ||
'rampwf.utils.command_line:ramp_leaderboard', | ||
]}) |