forked from has2k1/gnuplot_kernel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (46 loc) · 1.44 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import io
from setuptools import find_packages, setup
__author__ = 'Hassan Kibirige'
__email__ = '[email protected]'
__description__ = 'A gnuplot kernel for Jupyter'
__license__ = 'BSD'
__url__ = 'https://github.com/has2k1/gnuplot_kernel'
__classifiers__ = [
'Framework :: IPython',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: System :: Shells',
]
__install_requires__ = [
'metakernel >= 0.24.4',
'notebook >= 5.5.0'
]
__packages__ = find_packages(
include=['gnuplot_kernel', 'gnuplot_kernel.*']
)
__package_data__ = {'gnuplot_kernel': ['images/*.png']}
with io.open('gnuplot_kernel/kernel.py', encoding='utf-8') as fid:
for line in fid:
if line.startswith('__version__'):
__version__ = line.strip().split()[-1][1:-1]
break
with open('README.rst') as f:
readme = f.read()
setup(name='gnuplot_kernel',
author=__author__,
maintainer=__author__,
maintainer_email=__email__,
version=__version__,
description=__description__,
long_description=readme,
license=__license__,
url=__url__,
python_requires='>=3.6',
install_requires=__install_requires__,
packages=__packages__,
package_data=__package_data__,
classifiers=__classifiers__
)