forked from jupyterhub/binderhub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (30 loc) · 827 Bytes
/
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
import os
from setuptools import setup, find_packages
import subprocess
# get the version
version_ns = {}
here = os.path.dirname(__file__)
with open(os.path.join(here, 'binderhub', '_version.py')) as f:
exec(f.read(), {}, version_ns)
# Build our js and css files before packaging
subprocess.check_call(['npm', 'install'])
subprocess.check_call(['npm', 'run', 'webpack'])
setup(
name='binderhub',
version=version_ns['__version__'],
python_requires='>=3.5',
author='Project Jupyter Contributors',
author_email='[email protected]',
license='BSD',
packages=find_packages(),
include_package_data=True,
install_requires=[
'kubernetes==4.*',
'escapism',
'tornado',
'traitlets',
'docker',
'jinja2',
'prometheus_client',
]
)