-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
68 lines (53 loc) · 1.87 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
from setuptools import setup, find_packages
# note: version is maintained inside ipyexperiments/version.py
exec(open('ipyexperiments/version.py').read())
with open("README.md", "r") as fh: long_description = fh.read()
def to_list(buffer): return list(filter(None, map(str.strip, buffer.splitlines())))
requirements = to_list("""
ipython
pynvml
psutil
pynvx>=1.0.0;platform_system=="Darwin"
ipython>=6.0.0 # events support
""")
setup_requirements = []
test_requirements = to_list("""
pytest
nbmake
""")
extras_requirements = {
"dev": requirements,
"testing": test_requirements,
}
setup(
name = 'ipyexperiments',
version = __version__,
packages = find_packages(),
include_package_data = True,
install_requires = requirements,
setup_requires = setup_requirements,
extras_require = extras_requirements,
python_requires = '>=3.6',
test_suite = 'tests',
license = "Apache License 2.0",
description = "jupyter/ipython experiment containers for GPU+CPU memory profiling, re-use and memory leaks detection.",
long_description = long_description,
long_description_content_type = "text/markdown",
url = 'https://github.com/stas00/ipyexperiments',
keywords = 'ipyexperiments, jupyter, ipython, memory, gpu, memory profiler',
author = "Stas Bekman",
author_email = '[email protected]',
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
zip_safe = False,
)