-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
76 lines (62 loc) · 1.99 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
"""
Intellectual Property: 2019-20 CUAHSI Olin SCOPE Team
Vicky McDermott, Kyle Combes, Emily Lepert, and Charlie Weiss
Author: Austin Raney
Author Email: [email protected]
Author Affiliation: CUAHSI
Maintainer: Austin Raney
Maintainer Email: [email protected]
Maintainer Affiliation: CUAHSI
"""
# TODO: add citation
from pathlib import Path
from setuptools import setup, find_packages
# define package name globally
PKGNAME = "hydroshare_on_jupyter"
VERSION = "0.1.5"
# define webapp path globally
here = Path(__file__).resolve().parent
webpath = here / "webapp"
# path to pre-built lab-extension
LABEXTENSION_PATH = here / PKGNAME / "labextension"
# Package author information
AUTHOR = "Austin Raney"
AUTHOR_EMAIL = "[email protected]"
MAINTAINER = "Austin Raney"
MAINTAINER_EMAIL = "[email protected]"
# package version requirement
PYTHON_REQUIRES = ">=3.7"
# Package dependency requirements
REQUIREMENTS = [
"hsclient>=0.2.0",
"jupyterlab",
"notebook",
"requests",
"pydantic[dotenv]",
"watchdog",
]
# Development requirements
DEVELOPMENT_REQUIREMENTS = ["pytest", "pytest-tornado"]
SHORT_DESCRIPTION = "A JupyterLab extension for downloading, uploading, editing, and syncing your HydroShare resources without leaving Jupyter."
# Long description
with (Path(__file__).parent / "README.md").open("r") as f:
LONG_DESCRIPTION = f.read()
if __name__ == "__main__":
setup(
name=PKGNAME,
version=VERSION,
python_requires=PYTHON_REQUIRES,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
packages=find_packages(),
url="https://github.com/hydroshare/hydroshare_jupyter_sync",
license="",
description=SHORT_DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
include_package_data=True,
install_requires=REQUIREMENTS,
extras_require={"develop": DEVELOPMENT_REQUIREMENTS},
)