forked from damianavila/RISE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·77 lines (65 loc) · 2.18 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/usr/bin/env python
# coding: utf-8
# Copyright (c) - Damian Avila
# pylint: disable = C0103
"""
Packaging
"""
# inspired from
# http://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Distributing%20Jupyter%20Extensions%20as%20Python%20Packages.html#Example---Server-extension-and-nbextension
import os
from setuptools import setup, find_packages
from rise.version import __version__ as version
NAME = "rise"
INSTALL_REQUIRES = [
'notebook>=5.5.0',
]
with open('./README.md') as readme:
README = readme.read()
DATA_FILES = [
# like `jupyter nbextension install --sys-prefix`
("share/jupyter/nbextensions/rise", [
"rise/static/main.js",
]),
# like `jupyter nbextension enable --sys-prefix`
("etc/jupyter/nbconfig/notebook.d", [
"jupyter-config/nbconfig/notebook.d/rise.json"
]),
]
setup_args = dict(
name=NAME,
version=version,
packages=find_packages(),
data_files=DATA_FILES,
include_package_data=True,
install_requires=INSTALL_REQUIRES,
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
description="Reveal.js - Jupyter/IPython Slideshow Extension",
long_description=README,
author="Damián Avila",
author_email="[email protected]",
project_urls={
'source': "http://github.com/damianavila/RISE",
'documentation': "http://rise.readthedocs.io",
'gitter': "https://gitter.im/damianavila/RISE",
},
license="BSD-3-Clause",
platforms="Linux, Mac OS X, Windows",
keywords=["jupyter", "ipython", "presentation", "slides", "revealjs"],
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
zip_safe=False,
)
if __name__ == '__main__':
setup(**setup_args)