-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
32 lines (27 loc) · 781 Bytes
/
setup.py
File metadata and controls
32 lines (27 loc) · 781 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
#!/usr/bin/python3
import os
from warnings import warn
from distutils.core import setup
from setuptools import find_packages
REQ_FILE = 'requirements.txt'
if not os.path.exists(REQ_FILE):
warn("No requirements file found. Using defaults deps")
deps = [
'numpy',
'pandas',
'matplotlib',
'scipy',
'tensorflow',
'pyyaml',
'pynvml']
warn(', '.join(deps))
else:
with open(REQ_FILE, 'r') as f:
deps = f.read().splitlines()
setup(name='pyutils',
version='1.0.0',
description='Python utilities for ease of workflow',
author='Jason St George',
author_email='stgeorge@brsc.com',
packages=find_packages(),
install_requires=deps)