-
Notifications
You must be signed in to change notification settings - Fork 19
/
setup.py
28 lines (24 loc) · 922 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
#!/usr/bin/env python3
# =============================================================================
# @file setup.py
# @brief Installation setup file
# @author Michael Hucka <mhucka@caltech.edu>
# @license Please see the file named LICENSE in the project directory
# @website https://github.com/caltechlibrary/handprint
#
# Note: configuration metadata is maintained in setup.cfg. This file exists
# primarily to hook in setup.cfg and requirements.txt.
#
# =============================================================================
import os
from os.path import exists, join, abspath, dirname
from setuptools import setup
here = abspath(dirname(__file__))
requirements = []
if exists(join(here, 'requirements.txt')):
with open(join(here, 'requirements.txt')) as f:
requirements = f.read().rstrip().splitlines()
setup(
setup_requires = ['wheel'],
install_requires = requirements,
)