Repository navigation
Expand file tree
/
Copy pathsetup.py
More file actions
73 lines (70 loc) · 2.72 KB
/
Copy pathsetup.py
File metadata and controls
73 lines (70 loc) · 2.72 KB
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
8AD6
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
# Copyright 2017 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Configuration for the google.colab package."""
from setuptools import find_packages
from setuptools import setup
DEPENDENCIES = (
# Note: these dependency versions should be kept in-sync with the versions
# specified in the docker container requirements files.
'google-auth==2.63.1',
'ipykernel==6.17.1',
'ipyparallel==8.8.0',
'ipython==7.34.0',
'pandas==2.2.3',
'jupyter-server==2.21.1',
'portpicker==1.6.0',
'requests==2.34.2',
'tornado==6.6.1',
)
setup(
name='google-colab',
version='1.0.0',
author='Google Colaboratory team',
author_email='colaboratory-team@google.com',
description='Google Colaboratory tools',
long_description='Colaboratory-specific python libraries.',
url='https://colaboratory.research.google.com/',
packages=find_packages(exclude=('tests*',)),
install_requires=DEPENDENCIES,
# Register the google.colab Jupyter server extensions by dropping their
# enable configs into etc/jupyter/jupyter_server_config.d/ at install time.
# This is needed because jupyter-server >= 2.16 (PR #1509) requires the
# extension to already be present in jpserver_extensions before
# `jupyter server extension enable --py ...` will write a config file,
# so packages that don't ship their own config can no longer be enabled
# via the CLI.
data_files=[
(
'etc/jupyter/jupyter_server_config.d',
[
'jupyter-config/jupyter_server_config.d/google.colab.json',
'jupyter-config/jupyter_server_config.d/google.colab._serverextension.json',
],
),
],
license='Apache 2.0',
keywords='google colab ipython jupyter',
classifiers=(
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.12',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
),
include_package_data=True,
)