-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·36 lines (33 loc) · 1.22 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
import os
from setuptools import setup, find_packages, find_namespace_packages
version = {}
with open("wstlr/version.py") as fp:
exec(fp.read(), version)
root_dir = os.path.dirname(os.path.abspath(__file__))
req_file = os.path.join(root_dir, "requirements.txt")
with open(req_file) as f:
requirements = f.read().splitlines()
setup(
name="NCPI-Whistler",
version=version["__version__"],
description=f"NCPI Whistler Pipeline {version['__version__']}",
packages=find_namespace_packages(),
include_package_data=True,
install_requires=requirements,
entry_points={
"console_scripts": [
"play = wstlr.play:exec",
"buildcm = wstlr.conceptmap:exec",
"extractjson = wstlr.extractor:exec",
"bundleup = wstlr.bundle:exec",
"builddd = wstlr.dd.dd_from_fhir:exec",
"delfhir = wstlr.purge:exec",
"inspectjson = wstlr.inspector:exec",
"buildsrcobs = wstlr.sourcedata.obscomp:exec",
"buildsrcqr = wstlr.sourcedata.questionnaire:exec",
"init-play = wstlr.init:exec",
"igload = wstlr.igload:exec",
"dd-json-to-csv=wstlr.dd.json_parser:convert_json_to_csv",
]
},
)