forked from dataflownb/dfconvert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (51 loc) · 1.75 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
52
53
54
55
56
57
58
import os
from setuptools import setup
# Get location of this file at runtime
HERE = os.path.abspath(os.path.dirname(__file__))
# Eval the version tuple and string from the source
VERSION_NS = {}
with open(os.path.join(HERE, 'dfconvert/_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup_args = dict(
name='dfconvert',
author='Dataflow Notebook Team',
author_email='[email protected]',
description='Tool for converting to and from IPykernel/DFKernel Compliant Notebooks',
long_description='''
This package adds *Download as* menu items for translating notebooks created using IPykernel or DFKernel to be
compliant with the alternative Notebook environment.
See `the project README <https://github.com/dataflownb/dfconvert>`_
for more information.
''',
url='https://github.com/dataflownb/dfconvert',
version=VERSION_NS['__version__'],
license='BSD',
platforms=['Jupyter Notebook 5.x'],
packages=[
'dfconvert',
],
include_package_data=True,
install_requires=[
'notebook>=5.4',
'ipython>=6.3.0,<7.0.0',
'astor>=0.7',
'asttokens>1.1'
],
extras_require={
'test': ['nbformat', 'nose-timer','nbconvert'],
},
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
]
)
if __name__ == '__main__':
setup(**setup_args)