-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
54 lines (48 loc) · 1.51 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
48
49
50
51
52
53
54
# -*- coding: utf-8 -*-
# Copyright 2015-2017 CS Systemes d'Information (CS SI)
# All rights reserved
"""Setup file"""
import os
from codecs import open
from os import path
from setuptools import find_packages
from setuptools import setup
HERE = path.abspath(path.dirname(__file__))
metadata = {}
with open(os.path.join(HERE, "eodag_labextension", "__meta__.py"), "r") as f:
exec(f.read(), metadata)
# Get the long description from the README file
with open(path.join(HERE, "README.md"), encoding="utf-8") as f:
description_from_readme = f.read()
setup(
name="eodag-labextension",
version=metadata["__version__"],
description="JupyterLab eodag service extension",
long_description=description_from_readme,
url="http://www.c-s.fr",
classifiers=[
"Topic :: Utilities",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
],
python_requires=">=3.6",
include_package_data=True,
data_files=[
(
"etc/jupyter/jupyter_notebook_config.d",
["jupyter-config/jupyter_notebook_config.d/eodag_labextension.json"],
)
],
packages=find_packages(),
install_requires=["tornado>=6.0.3,<7.0.0", "notebook>=6.0.3,<7.0.0", "eodag~=2.0"],
extras_require={
"dev": [
"jupyterhub>=1.0.0,<2.0.0",
"jupyterlab>=2.0.0,<3.0.0",
"jupyter_contrib_nbextensions==0.5.1",
"black>=19.10b,<20.0",
"pre-commit==2.1.1",
]
},
zip_safe=False,
)