Skip to content

Commit d7ae875

Browse files
authored
Issue 5 (#8)
* Fix #5 and add more tests * Add MANIFEST.in file to include license and fonts, fix test dependency in setup.py
1 parent c8c0f66 commit d7ae875

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include LICENSE.md
2+
include image_dataset_viz/fonts/DejaVuSans.ttf

setup.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def find_version(*file_paths):
3131
author_email="vfdev.5@gmail.com",
3232
url="https://github.com/vfdev-5/ImageDatasetViz",
3333
packages=find_packages(exclude=['tests', 'examples']),
34+
include_package_data=True,
3435
install_requires=[
3536
'numpy',
3637
'Pillow',
@@ -39,10 +40,7 @@ def find_version(*file_paths):
3940
],
4041
license='MIT',
4142
test_suite="tests",
42-
extras_require={
43-
'tests': [
44-
'pytest',
45-
'pytest-cov'
46-
]
47-
}
43+
tests_require=[
44+
'backports.tempfile;python_version<"3"'
45+
]
4846
)

0 commit comments

Comments
 (0)