|
1 |
| -#!/usr/bin/env python |
2 |
| -# coding: utf-8 |
3 |
| - |
4 |
| -# Copyright (c) Jupyter Development Team. |
5 |
| -# Distributed under the terms of the Modified BSD License. |
6 |
| - |
7 |
| -from setupbase import create_cmdclass, __version__ |
8 |
| -from setuptools import find_packages, setup |
9 |
| -import sys |
10 |
| - |
11 |
| - |
12 |
| -setup_args = dict( |
13 |
| - name='jupyterlab_server', |
14 |
| - version=__version__, |
15 |
| - packages=find_packages('.'), |
16 |
| - description='JupyterLab Server', |
17 |
| - long_description=open('./README.md').read(), |
18 |
| - long_description_content_type='text/markdown', |
19 |
| - author='Jupyter Development Team', |
20 |
| - |
21 |
| - url='https://jupyter.org', |
22 |
| - license='BSD', |
23 |
| - platforms='Linux, Mac OS X, Windows', |
24 |
| - keywords=['Jupyter', 'JupyterLab'], |
25 |
| - cmdclass=create_cmdclass(), |
26 |
| - classifiers=[ |
27 |
| - 'Intended Audience :: Developers', |
28 |
| - 'Intended Audience :: System Administrators', |
29 |
| - 'Intended Audience :: Science/Research', |
30 |
| - 'License :: OSI Approved :: BSD License', |
31 |
| - 'Programming Language :: Python', |
32 |
| - 'Programming Language :: Python :: 3', |
33 |
| - 'Programming Language :: Python :: 3.6', |
34 |
| - 'Programming Language :: Python :: 3.7', |
35 |
| - 'Programming Language :: Python :: 3.8', |
36 |
| - ], |
37 |
| - include_package_data=True |
38 |
| -) |
39 |
| - |
40 |
| -if 'setuptools' in sys.modules: |
41 |
| - setup_args['python_requires'] = '>=3.6' |
42 |
| - setup_args['extras_require'] = { |
43 |
| - 'test': [ |
44 |
| - 'codecov', |
45 |
| - 'ipykernel', |
46 |
| - 'pytest>=5.3.2', |
47 |
| - 'pytest-cov', |
48 |
| - 'jupyter_server[test]', |
49 |
| - 'openapi_core', |
50 |
| - 'pytest-console-scripts', |
51 |
| - 'strict-rfc3339', |
52 |
| - 'ruamel.yaml', |
53 |
| - 'wheel', |
54 |
| - ], |
55 |
| - } |
56 |
| - setup_args['install_requires'] = [ |
57 |
| - 'babel', |
58 |
| - 'jinja2>=2.10', |
59 |
| - 'json5', |
60 |
| - 'jsonschema>=3.0.1', |
61 |
| - 'packaging', |
62 |
| - 'requests', |
63 |
| - 'jupyter_server~=1.4', |
64 |
| - ] |
65 |
| - |
66 |
| -if __name__ == '__main__': |
67 |
| - setup(**setup_args) |
| 1 | +from setuptools import setup |
| 2 | +setup() |
0 commit comments