-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathsetup.py
46 lines (41 loc) · 1.21 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
from setuptools import setup
import sys
if 'egg_info' not in sys.argv:
from uic2 import compile_all
compile_all(True)
if sys.platform == 'darwin':
extra_options = dict(
app=['nbmanager'],
options=dict(py2app=dict(
argv_emulation=True,
packages=['nbmanager'],
alias=True,
iconfile='nbmanager.icns'
)),
)
extra_setup = ['py2app']
else:
extra_options = {}
extra_setup = []
setup(
name='nbmanager',
version='0.1',
description='View and stop running Jupyter notebooks and servers',
author='Thomas Kluyver',
author_email='[email protected]',
maintainer='Philipp A.',
maintainer_email='[email protected]',
url='https://github.com/jupyter/nbmanager',
packages=['nbmanager'],
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Framework :: Jupyter',
'License :: OSI Approved :: BSD License',
],
install_requires=['PyQt5', 'jupyterlab', 'requests', 'qtico'],
setup_requires=['qtico'] + extra_setup,
**extra_options,
)