generated from caltechlibrary/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
27 lines (23 loc) · 896 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
#!/usr/bin/env python3
# =============================================================================
# @file setup.py
# @brief Installation setup file
# @created 2021-05-21
# @license Please see the file named LICENSE in the project directory
# @website https://github.com/caltechlibrary/trinomial
#
# 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,
)