-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
61 lines (56 loc) · 1.86 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
from os.path import join
from glob import glob
from setuptools import setup
from setuptools_rust import RustExtension, Binding
def read(path):
with open(path) as f:
return f.read()
setup(
name="filprofiler",
packages=["filprofiler"],
entry_points={
"console_scripts": ["fil-profile=filprofiler._script:stage_1"],
},
package_data={
"filprofiler": ["licenses.txt"],
},
data_files=[
(
join("share", "jupyter", "kernels", "filprofile"),
glob(join("data_kernelspec", "*")),
),
],
rust_extensions=[
RustExtension(
"filprofiler._filpreload",
path="filpreload/Cargo.toml",
debug=False,
binding=Binding.PyO3,
)
],
use_scm_version=True,
install_requires=["threadpoolctl"],
extras_require={"dev": read("requirements-dev.txt").strip().splitlines()},
setup_requires=["setuptools_scm", "setuptools-rust"],
description="A memory profiler for data batch processing applications.",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
],
python_requires=">=3.7",
license="Apache 2.0",
url="https://pythonspeed.com/fil/",
maintainer="Itamar Turner-Trauring",
maintainer_email="[email protected]",
long_description=read("README.md"),
long_description_content_type="text/markdown",
)