-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathsetup.py
52 lines (42 loc) · 1.49 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Sebastian Raschka 2014-2022
# IPython magic function to print date/time stamps and
# various system information.
# Author: Sebastian Raschka <sebastianraschka.com>
#
# License: BSD 3 clause
from os.path import dirname, join, realpath
from textwrap import dedent
from setuptools import find_packages, setup
PROJECT_ROOT = dirname(realpath(__file__))
REQUIREMENTS_FILE = join(PROJECT_ROOT, "requirements.txt")
with open(REQUIREMENTS_FILE) as f:
install_reqs = f.read().splitlines()
install_reqs.append("setuptools")
# Also see settings in setup.cfg
setup(
name="watermark",
license="newBSD",
description=(
"IPython magic function to print date/time stamps and "
"various system information."
),
author="Sebastian Raschka",
author_email="[email protected]",
url="https://github.com/rasbt/watermark",
packages=find_packages(exclude=[]),
install_requires=install_reqs,
extras_require={'gpu': ['py3nvml>=0.2']},
long_description=dedent(
"""\
An IPython magic extension for printing date and time stamps, version
numbers, and hardware information.
Contact
=============
If you have any questions or comments about watermark,
please feel free to contact me via
email: [email protected]
This project is hosted at https://github.com/rasbt/watermark
The documentation can be found at
https://github.com/rasbt/watermark/blob/master/README.md"""
),
)