-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
38 lines (33 loc) · 1.24 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
import setuptools
import shutil
from rtplot.core.version import __version__
print(f"Building rtplot version {__version__}")
print("Cleaning old builds")
shutil.rmtree("./build/", ignore_errors=True)
shutil.rmtree("./dist/", ignore_errors=True)
shutil.rmtree("./rtplot.egg-info/", ignore_errors=True)
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="rtplot",
version=__version__,
author="Nabeel Sherazi",
author_email="[email protected]",
description="Real time plotting. Yes, you can do it now.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/nabeelsherazi/rtplot",
packages=["rtplot", "rtplot.internal", "rtplot.api",
"rtplot.shortcuts", "rtplot.examples"],
package_data={"": ["README.md", "LICENSE"]},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"Framework :: Matplotlib",
"Intended Audience :: Science/Research"
],
python_requires='>=3.6',
install_requires=["matplotlib==3.1.3", "numpy>=1.18.1"],
)