-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
33 lines (26 loc) · 1015 Bytes
/
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
"""A setuptools based module for PIP installation."""
# Docs/example setup.py: https://github.com/pypa/sampleproject/blob/master/setup.py
import os
from setuptools import setup, find_packages
__VERSION__ = "1.60.6"
base_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(base_dir, "README.md")) as readme:
readme_contents = readme.read()
with open("requirements.txt") as requirements:
requirements_list = [l.strip() for l in requirements.readlines()]
setup(
# This is what people 'pip install'.
name="all-of-us-rdr",
version=__VERSION__,
long_description=readme_contents,
url="https://github.com/all-of-us/raw-data-repository",
# These packages may be imported after the egg is installed.
packages=find_packages(exclude=['tests']),
install_requires=requirements_list,
entry_points={
'console_scripts': [
'rtool = rdr_service.tools.__main__:run',
'rclient = rdr_service.client.__main__:run',
],
},
)