8000 Added Setup.py changes for the baseline images package · matplotlib/matplotlib@908a2a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 908a2a5

Browse files
Added Setup.py changes for the baseline images package
1 parent dd730ac commit 908a2a5

File tree

1 file changed

+28
-0
lines changed
  • sub-wheels/matplotlib-baseline-images

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import os
2+
from pathlib import Path
3+
import sys
4+
5+
6+
rootdir = str(Path(__file__).resolve().parents[2])
7+
sys.path.insert(0, rootdir)
8+
os.chdir(rootdir)
9+
10+
11+
12+
from setuptools import setup, find_packages
13+
import versioneer
14+
15+
16+
__version__ = versioneer.get_version().split('+')[0]
17+
18+
setup(
19+
name="matplotlib.baseline-images",
20+
version=__version__,
21+
description="Package containing Matplotlib baseline images and Matplotlib toolkit images",
22+
url="https://github.com/matplotlib/sub-wheels/matplotlib-baseline-images/baseline-images",
23+
package_dir={"": "sub-wheels/matplotlib-baseline-images/baseline_images"},
24+
packages=find_packages("sub-wheels/matplotlib-baseline-images/baseline-images"),
25+
include_package_data=True,
26+
install_requires=["matplotlib=={}".format(__version__)]
27+
28+
)

0 commit comments

Comments
 (0)
0