Skip to content
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
39 changes: 21 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
import sys
from os.path import join as pjoin

# Name of the project
name = 'ipympl'

here = os.path.dirname(os.path.abspath(__file__))
node_root = pjoin(here, 'js')
is_repo = os.path.exists(pjoin(here, '.git'))
Expand Down Expand Up @@ -138,37 +141,37 @@ def run(self):
with open(pjoin(here, 'ipympl', '_version.py')) as f:
exec(f.read(), {}, version_ns)

setup_args = {
'name': 'ipympl',
'version': version_ns['__version__'],
'description': 'Matplotlib Jupyter Extension',
'long_description': LONG_DESCRIPTION,
'license': 'BSD License',
'include_package_data': True,
'data_files': get_data_files(),
'install_requires': [
setup_args = dict(
name=name,
version=version_ns['__version__'],
description='Matplotlib Jupyter Extension',
long_description=LONG_DESCRIPTION,
license='BSD License',
include_package_data=True,
data_files=get_data_files(),
install_requires=[
'ipykernel>=4.7',
'ipywidgets>=7.5.0',
'matplotlib>=2.0.0'
],
'packages': find_packages(),
'zip_safe': False,
'cmdclass': {
packages=find_packages(),
zip_safe=False,
cmdclass={
'build_py': js_prerelease(build_py),
'egg_info': js_prerelease(egg_info),
'sdist': js_prerelease(sdist, strict=True),
'jsdeps': NPM,
},
'author': 'Matplotlib Development Team',
'author_email': 'matplotlib-users@python.org',
'url': 'http://matplotlib.org',
'keywords': [
author='Matplotlib Development Team',
author_email='matplotlib-users@python.org',
url='http://matplotlib.org',
keywords=[
'ipython',
'jupyter',
'widgets',
'graphics',
],
'classifiers': [
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: IPython',
'Intended Audience :: Developers',
Expand All @@ -181,6 +184,6 @@ def run(self):
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
}
)

setup(**setup_args)