-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (31 loc) · 1.1 KB
/
setup.py
File metadata and controls
39 lines (31 loc) · 1.1 KB
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
37
38
39
from setuptools import setup
import os
# this won't be used, but is needed in order to import logrun successfully:
os.environ['LOGRUN_ROOT'] = 'logrun-root-tmp'
from logrun import __version__
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md')) as file:
long_description = file.read()
setup(
name="logrun",
version=__version__,
description="A convenient experiment logging package for Python",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/dccsillag/logrun",
author="Daniel Csillag",
author_email="dccsillag@gmail.com",
license="MIT",
packages=['logrun', 'logrun.utils'],
install_requires=['dill',
'psutil',
'xxhash',
'gitpython'],
extras_require={
'utils-media': ['numpy', 'imageio'],
'utils-data': ['numpy', 'pandas'],
'utils-ml-cpu': ['tensorflow', 'torch==+cpu'],
'utils-ml-gpu': ['tensorflow-gpu', 'torch'],
}
# TODO: classifiers
)