forked from jupyterhub/nbgitpuller
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
47 lines (45 loc) · 1.49 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
from setuptools import find_packages, setup
from distutils.util import convert_path
# Imports __version__, reference: https://stackoverflow.com/a/24517154/2220152
ns = {}
ver_path = convert_path("nbfetch/version.py")
with open(ver_path) as ver_file:
exec(ver_file.read(), ns)
__version__ = ns["__version__"]
setup(
name="nbfetch",
version=__version__,
url="",
license="3-clause BSD",
author="Peter Veerman, YuviPanda",
author_email="[email protected]",
maintainer="Austin Raney",
maintainer_email="[email protected]",
description="Notebook Extension to do one-way synchronization of git repositories",
packages=find_packages(),
include_package_data=True,
platforms="any",
install_requires=["notebook==6.4.6", "tornado", "hsclient", "jupyter_server"],
extras_require={"develop": ["pytest", "pytest-jupyter"]},
data_files=[
(
"etc/jupyter/jupyter_server_config.d",
["jupyter-config/jupyter_server_config.d/nbfetch.json"],
),
],
zip_safe=False,
entry_points={
"console_scripts": [
"nbfetch = nbfetch.pull:main",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Operating System :: MacOS",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)