-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (29 loc) · 844 Bytes
/
setup.py
File metadata and controls
34 lines (29 loc) · 844 Bytes
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 json
from setuptools import setup, find_packages
install_requires = [
"hapiplot",
"hapiclient",
"deepdiff",
"GitPython",
"isodate"
]
try:
# Will work if utilrsw was already installed, for example via pip install -e .
import utilrsw
except:
install_requires.append("utilrsw[net] @ git+https://github.com/rweigel/utilrsw")
try:
# Will work if tableui was already installed, for example via pip install -e .
import tableui
except:
install_requires.append("tableui @ git+https://github.com/rweigel/table-ui")
version = json.load(open('hapimeta/version.json'))['version']
setup(
name='hapimeta',
version=version,
description='A package for metadata from HAPI servers.',
author='Bob Weigel and Jeremy Faden',
author_email='rweigel@gmu.edu',
packages=find_packages(),
install_requires=install_requires
)